Making my first Adobe Air app and was wondering if their was a fullscreen tag or javascript function to make the app fullscreen? I'm using HTML etc, not Flash.
Since it is an Air application, you can control the fullscreen very well with the action script.
Please go through the StageDisplayState class for more information or just visit this link as mentioned by evan
Here you can find an explanation and a file:
http://cookbooks.adobe.com/post_Using_the_FullScreen_functionality_in_AIR-8004.html
http://cookbooks.adobe.com/index.cfm?event=getFile&fileId=3604
Related
I have a WordPress installation and I share some links like the following to students watching courses - presentations online.
https://emgncv.net/wp-content/uploads/2020/10/108_I_Interpretation_Case_Study.mp4
The big issue that I am facing here is that I want to find a piece of code (probably Javascript or Jquery) to add "On document ready" so when students load the presentations on their browsers not being able to download the video from the 3-dots menu on the right bottom corner of the media player. Please, view the screenshot attached.
For the records, I have noticed this only on Google Chrome and Microsoft Edge. Mozilla does not offer such a download option.
What I have already tried is the following:
$('video').attr('controlsList', 'nodownload');
FYI, I have placed this code in a section where my WordPress theme provider lets me add some custom JS code. The section works pretty fine. I have already implemented others functions and everything works properly.
Do you have any ideas on what I will need to look at to achieve the following by default when my students load their courses on browsers?
Thank you so much in advance,
George.
I´m developing an application with Intel XDK and I can open the video-camera through cordova-media-capture but I need to open the video feed in a DIV.
I tried this tutorial:
https://www.raymondcamden.com/2015/06/05/cordova-sample-capture-and-display-video/
But still opens the video-camera as a different app
How can I achieve it?
Can anybody give me other example?
Thank you all.
See Cordova CanvasCamera plugin at https://www.npmjs.com/package/com.virtuoworks.cordova-plugin-canvascamera
The purpose of the plugin is to capture video to preview camera in a web page's canvas element. Allows to select front or back camera and to control the flash.
There is a try out at:https://github.com/VirtuoWorks/CanvasCameraDemo
I want to implement a side menu app using html5 and javascript like the google home page on iphone. some one who know a plugin can do this?
thanks
I think this library may help you. It uses jQuery.
http://www.berriart.com/sidr/
I am building a simple app for the iPad. As it is easier, I decided to go with HTML and a little bit of JavaScript, but I have hit a wall. How I can check in JavaScript if an image (local image) exists?
This might be useful http://www.irt.org/script/52.htm
In jqtouch, I'm calling several pages using ajax, in very vanilla fashion:
<li class="arrow"><a href="folder/another/somepage.html" >BRAVIA HDTVs</a><small class="counter">2</small></li></li>
I'm trying to use a video player (sublime player) on the remote pages. In order to do that, I use the js provided by sublime: //script type="text/javascript" src="http://cdn.sublimevideo.net/js/something.js">
Then on my remote pages, to play the video I just put the code in a video class, which is defined by the js.
When I put this script in the head of my index page, things work great on iOS devices. But the videos won't play in Android - the javascript isn't being called. I can only play the video if I put it on the main index page, rather than the remote pages.
Any help? Speak to me like the village idiot, please - thanks -
Which version of jqTouch? The Beta 2 (also known as version 109) linked to on their home page is broken with Android, get the lastest version from GitHub for the best android support. Note: look at the demo for how the formating of html changed between 109 and 161.
jQtouch 1.0-b4-rc does not work with Android when using jQuery. The internal links in your site won't work. You have to use Zepto for it to work with Android.