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.

ppapi
Filter by
Sorted by
Tagged with
1 vote
1 answer
325 views

Can't get flash content to display in electron application

I have an Electron app running an angular web app within it. We need to show flash content. I previously had this working when my Electron app was running in 64-bit mode on a 64-bit machine. I am now ...
kamcknig's user avatar
  • 903
1 vote
0 answers
1k views

Pepperflash not working in Cefsharp version 65.0.0.0

We have recently upgraded Cefsharp to 65.0.0.0 from 43.0.0.0 in one of our projects. After the upgrade flash no longer loads in browser, it gives an error that "Adobe Flash player is out of date" ...
Seeker's user avatar
  • 11
0 votes
1 answer
250 views

Flash SWF inside CefSharp browser doesn't appear to register double click events

There is a lot of things to be considered here so I was just generally wondering if anyone has gotten a SWF flash file to fully work inside a CefSharp browser in WPF more specifically the double-click ...
Helder Perez's user avatar
1 vote
0 answers
1k views

how to enable flash in --incognito mode of chrome by selenium python

i want it can load and enable the flash in --incognito mode. but i have no idea how to make it. DETAILS: i use selenium python for chromedriver. there's a website with video area need loading flash. ...
baozugong's user avatar
0 votes
1 answer
147 views

How to customize a ppapi which could be used by Javascript?

I am researching on the Chromium PPAPI. After looking through all APIs from the official reference here: https://developer.chrome.com/native-client/cpp-api-dev, I seldom found any APIs that could be ...
tonymiao's user avatar
  • 305
1 vote
0 answers
320 views

How to get the current EGLContext in a PPAPI Plugin that uses OpenGL

I try to develop a PPAPI Plugin (in a Chromium application) that Renders 3D Graphics using the OpenGL PPAPI Wrapper. Moreover I'd like to leverage an EGL extension that would allow me to access a ...
cmonsqpr's user avatar
  • 593
3 votes
1 answer
2k views

Porting c++ code (native client) to browser (Web app)

I have a c++ module written using Qt-creator SDK. I want to port this code to run on any webpage without compromising the source-code to end user. User should be able to see the output of this module ...
Raju's user avatar
  • 413
1 vote
0 answers
129 views

Can I use Vulkan with the pepper API

I have read here: Calling Windows API from Native Client/Pepper Plugin that if you start chrome with --no-sandbox, you can call windows api´s. So my question is, if I use the flag --no-sandbox can I ...
Samantha's user avatar
  • 294
1 vote
1 answer
146 views

No type named 'VarDictionary' in namespace 'pp' using PNaCl

Can someone explain me why am I getting the compile error error: no type named 'VarDictionary' in namespace 'pp' pp::VarDictionary dictionary; ~~~~^ I'm tying to set a dictionary in ...
TalG's user avatar
  • 698
0 votes
2 answers
287 views

Extracting the outputs/results from an executed .pexe file

My goal is to convert a C++ program in to a .pexe file in order to execute it later on a remote computer. The .pexe file will contain some mathematical formulas or functions to be calculated on a ...
TalG's user avatar
  • 698
2 votes
1 answer
1k views

Accessing printers installed and printing raw data to label printer using Google Native client

Our web application has a flow where in the on click of print button on a page, raw data from the server is printed on the client's machine on a user selected printer (Zebra label printer). Following ...
Jitesh's user avatar
  • 51
0 votes
0 answers
434 views

DirectShow SDK + Adobe Flash Player PPAPI

everyone. I use this project. http://www.codeproject.com/Articles/437617/DirectShow-Virtual-Video-Capture-Source-Filter-in It's work on GrabStupid. It's work on browser (for example in Google Chrome(...
V. Anton's user avatar
1 vote
1 answer
337 views

How do I use the Python modules in webports/naclports with the Python interpreter Chrome app?

Webports has projects in the ports directory for Python and several Python modules, including NumPy. The "python" port compiles a Chrome app that runs the Python interpreter in a console window. I'd ...
Carter Sande's user avatar
  • 1,819
2 votes
0 answers
171 views

Is it possible to access microphone from NaCl/PPAPI?

I am doing a feasibility study for a PPAPI plugin. One of must-have requirements is access to the microphone to enabled audio recording. I have found API to play audio, but not to record it. Several ...
Dan Tumaykin's user avatar
  • 1,243
0 votes
1 answer
469 views

In chromium, how to combine --register-pepper-plugins with --launch-and-load-app

I am using chromium command line switch --launch-and-load-app to start a chromium instance that shows only the app that I am developing. This is working well. Also, I am using --register-pepper-...
Owen's user avatar
  • 39.2k
0 votes
1 answer
1k views

Make a NPAPI plugin(made for firefox) run into chrome browser

I have a NPAPI plugin , running fine in firefox. Now i want to port it to chrome browser, means i want it to work in chrome also. But i have learnt after browsing on internet and many links that ...
user2181750's user avatar
0 votes
1 answer
97 views

NACL_SDK How to intercept the video stream saved as a YUV image

nacl_sdk\pepper_44\examples\api\media_stream_video this is a example. i want to catch a frame to save as a YUV image. PS.You can find some silly mistakes in my message. Sorry for my English.
marvinzzz's user avatar
1 vote
1 answer
1k views

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 ...
Dan's user avatar
  • 2,334
4 votes
1 answer
1k views

Read the Windows Registry from Chrome Extension

I built a browser extension with Firebreath a couple of years ago, but now I realized that it isn't working anymore on Chrome because it doesn't support NPAPI anymore. The extension reads the Windows ...
user5046765's user avatar
0 votes
1 answer
497 views

Multiple OpenGL ppapi plugins in a single webpage

I am using the following example ppapi plugin that renders a spinning cube with openGL: https://chromium.googlesource.com/chromium/src/ppapi/+/master/examples/gles2_spinning_cube. I am able to ...
user1710407's user avatar
1 vote
1 answer
1k views

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 ...
Dmitry Dmitry's user avatar
2 votes
1 answer
1k views

PPAPI plugin run EXE on windows

I have a npapi plugin that run an exe on the client machine, now npapi is deprecated on chrome, so I'm trying to port my plugin to PPAPI. Can I run an EXE from the PPAPI plugin? Note: I only need ...
user2179256's user avatar
0 votes
1 answer
292 views

How to pass JavaScript function between Chrome browser and PNaCl plugin correctly

I wrote a simple echoer PNaCl plugin whose message handler just post the incoming message back unchanged: class Instance : public pp::Instance { public: virtual void HandleMessage(const pp::Var&...
timrau's user avatar
  • 22.9k
1 vote
1 answer
499 views

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 ...
timrau's user avatar
  • 22.9k
0 votes
1 answer
543 views

Using PPAPI to launch client applications e.g. Microsoft Word [duplicate]

I am very new at PPAPI. I have already written a plugin to launch client's applications e.g. Word in my web based application using NPAPI (using a Java applet). Now I want to do that using PPAPI. Any ...
Reza Ahmadi's user avatar
1 vote
1 answer
437 views

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/...
Dan's user avatar
  • 2,334
0 votes
1 answer
475 views

Can I get chrome's web page's HWND in Windows?

I want to port a web game from firebreath to ppapi, the old implemention is: firebreath plugin pass window's HWND to a other process in the other process,render and update the game I read some doc ...
sssa2000's user avatar
1 vote
1 answer
793 views

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 ...
Gunjan Gupta's user avatar
0 votes
1 answer
861 views

PNaCl - How do i post message from index.html to PNaCl?

I run the hello_nacl example of nacl_sdk(pepper_39) and everything is fine. But i try adding something on index.html to post message to PNaCl, it's not work and get error like this "NativeClient: NaCl ...
PTTjanice001's user avatar
4 votes
0 answers
1k views

How to programmatically know if Chrome supports NPAPI

As you can see at Chromium project, Chrome/Chromium will unsupport NPAPI soon. So you can develop PPAPI based solution, ok. I develop a web portal which use a NPAPI-plugin. Each time the portal is ...
OBS Conferencing's user avatar
1 vote
0 answers
306 views

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-...
o0ops's user avatar
  • 91
4 votes
3 answers
10k views

How to get trace output from PPAPI content debugger Flash Player

I'm using Chrome 39.0.2171.95 on Windows 8. I ran Adobe's uninstall_flash_player.exe. I installed the PPAPI content debugger Flash Player announced in this Adobe blog post. When I go to chrome://...
Dave 114's user avatar
  • 183
0 votes
1 answer
192 views

How to add custom function in pepper plugin API

As title, can I add a custom function in pepper plugin API? Can the custom function return a value? like this HelloTutorialModule = document.getElementById('hello_tutorial'); var errorCode; ...
PTTjanice001's user avatar
0 votes
1 answer
2k views

Google Chrome : Check if particular app is installed on the system or not

I'm working on a Quick Meeting type app. Where I want to check whether my app is installed on the system or not. My Application installer copies the plugin to "Internet Plugins" folder on Mac OSX and ...
Omkar's user avatar
  • 1,108
1 vote
0 answers
111 views

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's user avatar
  • 1,108
0 votes
1 answer
366 views

Protractor E2E Test - Blocked Browser Plugins

I am creating a suite of tests for a rich angular app in protractor. The site requires macromedia and another proprietary plugin to operate appropriately. I have manually set the "always allowed" flag ...
Daniel Hokanson's user avatar
0 votes
1 answer
647 views

how to get client machine mac address using PPAPI plugin or PNACL

I want to get client machine mac address so that user cannot be able to log in from other computer. I am new to PPAPI and has tried below code in C to get mac address. It require conio.h header file ...
Dipesh Jain's user avatar
0 votes
1 answer
404 views

Calling asynchronous PPAPI functions from a ppapi_simple program

I have a NaCl C program using ppapi_simple. I need to call asynchronous PPAPI functions such as PPB_NetworkMonitor::UpdateNetworkList(). When I tried implementing it naively, the callback I passed to ...
wanderingbear's user avatar
0 votes
1 answer
1k views

How to change ActiveX code to using in chrome plugin?

I have a ActiveX code write by MFC ,it is c++ code to get client pc net interface information,and will exec some test like ping. Now,it should use in chrome plugin. How should i do? use npapi or ...
Firemky's user avatar
  • 163
1 vote
2 answers
2k views

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 ...
atul's user avatar
  • 168
0 votes
1 answer
99 views

Build and run NaCl code using additional .cc files

I am new to NaCl. I was trying to build and run the sample code as per the instrction provided https://developer.chrome.com/native-client/devguide/tutorial/tutorial-part1 I was able run the original ...
atul's user avatar
  • 168
0 votes
1 answer
688 views

Render camera preview in Chrome using Native Client SDK

I'm trying to write ppapi plugin for Chrome which will use webcam (show preview and write file). I have installed NaCl sdk with pepper_35. There available examples in /examples/api/ folder: ...
Aleksei2414904's user avatar
0 votes
0 answers
31 views

When I use npapi to develop a textinput,How to submit it?

When I use npapi to develop a textinput to be a part of form,when I click submit button,How to submit the value of textinput developed by npapi?
Oliver.Liu's user avatar
2 votes
1 answer
116 views

Failed to call `pp::FileChooser_Dev` in NaCl

I need to write a file uploader PPAPI plugin instead of using NPAPI in Chrome. I extend the hello_nacl_cpp project in vs_addin example to test PPAPI and NaCl. The code is similar to this: ... ...
user3871236's user avatar
0 votes
1 answer
359 views

Deploy PPAPI plugins out of Chrome Web Store

Is it possible to deploy a PPAPI Chrome plugin without publishing on Chrome Web Store, say, provide an installer to end users?
timrau's user avatar
  • 22.9k
0 votes
1 answer
1k views

How to implement callback after sending message to NaCl (Chrome Native Client)?

Simple question from NaCl newbie ... In my javascript, I post a message to the NaCl module. How do I execute a callback in the javascript after this message is handled by the NaCl module? In the ...
chutney's user avatar
  • 157
3 votes
1 answer
854 views

purpose of PPAPI toolchain and how to use it?

I understand the there are multiple toolchains availble in "Native Client SDK". If i am not wrong there are 5 toolchains. one PNaCl Toolchain PNaCl - for building pexe (These pexe are platform ...
Devesh Agrawal's user avatar
0 votes
1 answer
942 views

Not able to load pepper plugin

I have implemented a plugin using google PPAPI and compiled it with ppapi toolchain to get a dll file for the same. (Not compiled with native client toolchain) I am trying to load the plugin in ...
Devesh Agrawal's user avatar
0 votes
1 answer
223 views

pp::Core::GetTimeTicks() getting out of sync with pp::InputEvent::GetTimeStamp() on system sleep

I'm attempting to use "tick time" to keep track of time in my PNaCl game, because game time should not be affected by the user adjusting his system clock. I would like to use both pp::Core::...
Magnus Hoff's user avatar
  • 21.8k
2 votes
3 answers
3k views

Is it possible to record video stream in Chrome Plugin using NaCL / PPAPI?

I am trying to record stream from html5 video tag and since I can not achieve 60FPS in JS with canvas I was wondering can I do it from chrome plugin? Any ideas is it even possible and what are the ...
wonglik's user avatar
  • 1,059