When the embedded video plays in the iPad browser, how can I get the current position hh:mm:ss (and possibly the playerβs state) in Javascript?
hh:mm:ss
If it is on a web page, you can do
var vid = document.getElementById('videoid'); var time = vid.currentTime;
as shown at http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#htmlmediaelement
Source: https://habr.com/ru/post/1388691/More articles:Registering large volumes of actions in a production MVC / SQL application - model-view-controllerHow to use GLSurfaceView in LinearLayout together with other views like TextView or Button? - androidApp Inventor vs Android SDK - androidIs it possible to find out the final UIScrollView contentOffset before it finishes slowing down? - iosHow to get position change events in Javascript for in Mobile Safari? - javascriptHow can I get the element type of an array using RTTI - rttiPython, hstack column numpy arrays (column vectors) of different types - pythonHow to save a bitmap in a phone gallery? - androidHow to edit the floating view added to the scene dock in the storyboard? - iosOpening a new page: new window and new tab - javascriptAll Articles