Questions tagged [ppapi]

PPAPI is a cross-platform API for plugins for web browsers. It is currently an experimental feature of Chromium and Google Chrome.

74 questions
1
vote
1 answer

How do you pass a variable from JavaScript to C++ in PPAPI?

I'm looking at someones code (not contactable) and they have set up a websocket client that talks to a server and runs some C++ code. This is for the new Chrome PPAPI. I can pass variables from the client to the server but I'm not sure how to relay…
Dan
  • 2,304
  • 6
  • 42
  • 69
1
vote
1 answer

How to embed plugin in android chrome browser?

I need to develop ppapi plugin and include it into build of android chromium. Now, I know how to build apk file from chromium source code. But I don’t know how to make APK file with preinstalled plugin. I found ppapi plugin…
Dmitry Dmitry
  • 78
  • 1
  • 11
1
vote
1 answer

How to wait for WebSocket response in PNaCl

I'm implementing a "wait for WebSocket response before continuation" mechanism on PNaCl plugin through pp::WebSocketAPI in PPAPI. The following is a simplified version which stores the replied data into a global std::string, while the function…
timrau
  • 22,578
  • 4
  • 51
  • 64
1
vote
1 answer

Pepper API error during the example

I'm starting to play around with the new Pepper API for an important project (phasing out Java) and I'm having an issue with this example. https://developer.chrome.com/native-client/devguide/devcycle/vs-addin I've installed the plugin to VS, added…
Dan
  • 2,304
  • 6
  • 42
  • 69
1
vote
1 answer

Chrome PPAPI plugin to execute commands on windows system

We were previously using a NPAPI plugin to execute some commands on windows system from our website. Now that NPAPI is gone, we are trying to port things to PPAPI or NaCl but there seems to be a lot of issues. Google seems to provide vs_addin for…
1
vote
0 answers

hello_world_gles use PPAPI platform can not load plugin

env: Chrome v39, sdk pepper_38, vs_addin v1578 use default debug params (--register-pepper-plugins="$(TargetPath)";application/x-ppapi http://localhost:$(NaClWebServerPort)/$(NaCLIndexHTML) --user-data-dir="$(ProjectDir)/chrome_data" --no-first-run…
o0ops
  • 91
  • 1
  • 9
1
vote
0 answers

Google Pepper Plugin : Can we access a file in current user's folder

I wanted to check a file present in current user's home folder or not. Is it possible using Google PPAPI FileIO and FileSystem?
Omkar
  • 1,108
  • 10
  • 19
1
vote
2 answers

Running socket API for native client

I am trying to run the socket api example provided by goggle native client.(path : nacl_sdk\pepper_35\examples\api\socket) I am able to build and run this example using make command, also it is displayed properly on chrome browser. But when I try to…
atul
  • 168
  • 1
  • 14
1
vote
1 answer

Questions on PPAPI

Can someone please validate the following assumptions on PPAPI? PPAPI plugin needs to be compiled with Nacl compiler which puts API restrictions on it. Additionally loading of PPAPI plugin seems to be only possible if they are published via Chrome…
1
vote
1 answer

error LNK2019: unresolved external symbol __imp__pthread_create

I started working on the port and got a good amount of our codebase to compile using your VS integration. I want to get everything up and running with the pepper api so I can debug any issues with the VS debugger. Now I stumbled across some linker…
NaClPM
  • 131
  • 1
  • 4
1
vote
1 answer

How to access system resources in Chrome Extensions

I am developing a chrome extension which needs to fetch some configuration from a system file... Earlier chrome provided NPAPI plug-ins, which could access any system resource (win registry, file system, IPC calls etc...) However knowing that NPAPI…
1
vote
2 answers

Linking external libraries in PPAPI plugin

First of all am new to PPAPI plugin development. Earlier i have been using NPAPI plugin to perform certain functionality which in turn uses windows APIs.Now since NPAPI is obsolete, i am trying PPAPI. My question is can i link windows APIs to PPAPI?…
Buzz LIghtyear
  • 480
  • 5
  • 16
1
vote
0 answers

PPAPI plugin doesn't load in metro mode Chrome in windows 8

I developed a chrome PPAPI plugin. The plugin works fine in Chrome on windows XP, windows 7. It also works in desktop mode Chrome in windows 8. However, it doesn't load in metro mode Chrome as a plugin. When I type "chrome://plugins/", it didn't…
JennyS
  • 119
  • 9
0
votes
1 answer

PPAPI Plugin and Chromium OS

I'm looking to use Chromium OS for a specific business application, but I need access to local serial and USB ports. My reading of the Chromium docs says NPAPI plugins are not supported in Chrome OS, only PPAPI (Pepper). I'm a bit confused about…
bryanb
  • 88
  • 1
  • 6
0
votes
0 answers

PyQt6 QWebEngineView can't load PPAPI flash player

I want to make a custom client for an online flash game I am on Linux Manjaro KDE I installed PPAPI using sudo pamac install pepper-flash the result of this code from PyQt6.QtCore import QUrl from PyQt6.QtWidgets import * from PyQt6.QtGui import…
ibrahem
  • 370
  • 3
  • 12