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
0
votes
1 answer

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 that PPAPI lib doesn't contain. i also added this…
0
votes
1 answer

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 UpdateNetworkList() was never called. Looking at…
wanderingbear
  • 1,002
  • 3
  • 11
  • 18
0
votes
1 answer

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 ppapi ? can i use ActiveX c++ code?
0
votes
1 answer

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 code. Now in this example I created one .cc and .h…
atul
  • 168
  • 1
  • 14
0
votes
1 answer

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: media_stream_audio and media_stream_video. The audio…
0
votes
0 answers

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
  • 33
  • 3
0
votes
1 answer

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?
0
votes
1 answer

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 getting-started-tutorial, the following example is…
chutney
  • 157
  • 3
  • 9
0
votes
1 answer

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 google chrome browser. for that i have used embed tag…
Devesh Agrawal
  • 8,982
  • 16
  • 82
  • 131
0
votes
1 answer

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::GetTimeTicks() and pp::InputEvent::GetTimeStamp() to run my…
Magnus Hoff
  • 21,529
  • 9
  • 63
  • 82
0
votes
1 answer

Play MP3 file in NaCl

Following the NACI guide to build the SDK examples worked perfectly. Now I'm going to build my own shared library to practice. I used the following command to compile eightball.cc into eightball_x86_32.o with no problem. i686-nacl-g++ -o…
NaClPM
  • 131
  • 1
  • 4
0
votes
1 answer

How to replace NPAPI plugin to PPAPI plugin?

I had developed a plugin using NPAPI so that it run a native exe file. I heard that chrome will drop NPAPI soon. My question here is 'Is it possible PPAPI plugin to run a native exe file on Windows somehow?' Thank you.
0
votes
1 answer

PNaCl local server build error on Windows [ppapi_ALL_TARGET] Error 2

I'm learning to develop a web-application with the google-nativeclient on a windows platform (win7). according to the instructions i must run make serve from the src directory of the pepper_(VERSION) I installed with the SDK, which in my case is…
Jesse T-Cofie
  • 227
  • 3
  • 11
0
votes
1 answer

Deprecated PPAPI scripting plugins chrome

I need an example NaCl plugin with usage of scripting plugins with deprecated PPAPI (please, read below). I have to develop a plugin using an old, deprecated scripting plugins from PPAPI (please, see…
1 2 3 4
5