Copy link to clipboard
Copied
I have a perfect html5 canvas video player app created using html5 canvas with perfect code and actions. Works perfectly in a browser.
When I export it as an AIR for desktop app all actions are commented out and video player objects are gone. Do I have to recode everything using AC3? Then can I still use the JS listener actions for returning to menu when movies end? Am I better off just using this in a browser?
Sorry for being a newbie, appreciate the guidance. rg
AIR apps have StageWebView. You could make a shell app that just places a StageWebView, and then sets it source to be your already working project.
The documentation has some examples. They are AS3, you'll have to learn at least a little bit to get it all going:
StageWebView - Adobe ActionScript® 3 (AS3 ) API Reference
If you're doing something which is to be a kiosk installation, just running your project in Chrome in its full screen mode might be simpler.
Copy link to clipboard
Copied
AIR apps have StageWebView. You could make a shell app that just places a StageWebView, and then sets it source to be your already working project.
The documentation has some examples. They are AS3, you'll have to learn at least a little bit to get it all going:
StageWebView - Adobe ActionScript® 3 (AS3 ) API Reference
If you're doing something which is to be a kiosk installation, just running your project in Chrome in its full screen mode might be simpler.
Copy link to clipboard
Copied
Colin,
Thanks. I think your final suggestion is the best since it is working. It's a large touch-screen video player and works in Firefox. We are just trying to eliminate the possibility of users holding finger on screen too long and bringing up like a "right-click" menu.
I think I will try to get my IT person to work more with the hardware and Chrome to kill that problem.
thanks for the confidence boost. rg
Copy link to clipboard
Copied
Your IT guy may know about this already, but there are ways to disable the right click:
Disable mouse right click, cut, copy and paste using jQuery - CodexWorld