html5-video

iOS Safari memory leak when loading/unloading HTML5 <video>

一曲冷凌霜 提交于 2019-12-29 17:45:08
问题 I've developed an iPad app with several UIWebViews that takes the following HTML and JavaScript. Since the iPad can only play one video at a time, I don't load the video until the particular web view is focused. This is done by calling the stringByEvaluatingJavaScriptFromString method on the UIWebView, sending in a call to the JS method getFocus() . Similarly, when the web view is no longer needed I call lostFocus() to unload the video. This enables another UIWebView to play another video. So

iOS Safari memory leak when loading/unloading HTML5 <video>

安稳与你 提交于 2019-12-29 17:45:03
问题 I've developed an iPad app with several UIWebViews that takes the following HTML and JavaScript. Since the iPad can only play one video at a time, I don't load the video until the particular web view is focused. This is done by calling the stringByEvaluatingJavaScriptFromString method on the UIWebView, sending in a call to the JS method getFocus() . Similarly, when the web view is no longer needed I call lostFocus() to unload the video. This enables another UIWebView to play another video. So

Playing a movie/DVD on a website

隐身守侯 提交于 2019-12-29 09:32:42
问题 I'm trying to play a movie (ripped from a DVD using handbreak to mp4 format, then using Miro to convert to webm) on a website - it works fine in Firefox and Chrome, but IE6/IE7 just displays a black screen. I'm using videojs but the Flash fallback was not activating, I believe this is because it was trying to view the external .swf file which I've now hosted locally (it's on https) but I still cannot get the video to run: https://secure.photofileltd.co.uk/new_site/index.php?page=video Any

Seekbar not working in Chrome

和自甴很熟 提交于 2019-12-29 09:30:26
问题 I have uploaded a video to my Windows Storage and noticed, that the seekbar (of the default Chrome's html5 player) is not working. Url of that video is: http://portalvhdsrwglplr5bdc2k.blob.core.windows.net/vdepot/uploads/video/file/167/surfer-girl-35094486.mp4 Please note: Seekbar is not working when video download is in progress or it's 100% the first time. If video has been downloaded by chrome player and you refresh the page, seekbar works fine. I'm a video encoding newbie thus i'm not

redirecting the page after a video plays using an html5 video player

拥有回忆 提交于 2019-12-29 08:16:30
问题 I am making a video reel (a portfolio) website, using wordpress as my backend, and the videojs html5 video player with each video in a different post. I want the videos to play successively, so that when one video finishes it redirects to the "next post". I'm having trouble seeing if there are any DOM calls that fire after the video plays. Basically I want to fire the redirect as soon as the video plays. Can someone point me in the right direction? Thanks! 回答1: It looks like there is an ended

Cordova iOS Video tag Local File Source

天大地大妈咪最大 提交于 2019-12-29 07:42:21
问题 I have problem playing local video on iOS on my Cordova based app. At the beginning I want to stress out that this problem is happening only when I'm using WKWebView , and if UiWebView is used, video plays fine. This is scenario I have: -User comes to screen to which video url is passed -Via FileTransfer I download it to phone and store it at desired location -Using JS video is loaded to <video> tag and played. Basically I'm doing everything as described in answer to this SO question. The

How to batch convert mp4 files to ogg with ffmpeg using a bash command or Ruby

我与影子孤独终老i 提交于 2019-12-29 06:59:52
问题 I am running a OSX, don't know tons about video conversions. But I have like 200 videos that are all in mp4 format and won't play in Firefox. I need to convert them to ogg to use the html5 video tag. These files live in a folder structure that makes it hard to do files one at a time. I would like the bash command or Ruby command to go through all child folders and find all .mp4's and convert them. I found one reference of how to do this with Google: http://athmasagar.wordpress.com/2011/05/12

HTML5 video remove overlay play icon

穿精又带淫゛_ 提交于 2019-12-29 06:56:12
问题 How do I remove the overlay play icon (triangle) that's visible in the center of the video for a second or so every time a video starts playing in an Android WebView? Thanks in advance! 回答1: If you said about this picture This is picture I had when tested my app on Android 6.0. You can hide this picture. For example: WebView mWebView = (WebView) findViewById(R.id.web_view); mWebView.setWebChromeClient(new WebChromeClientCustomPoster()); Chrome client class: private class

HTML5 video behavior on mobile devices

◇◆丶佛笑我妖孽 提交于 2019-12-29 05:18:50
问题 I am building a site where I have several <video> elements (looped animations) that act as part of my design (not as an actual video). This works quite well in desktop browsers, yet I am in trouble on mobile devices. When I display the site on Android or iOS devices (ie. mobile webkit) I will get the OS's video player appearance and the videos will open in some sort of popup when I click them. I do know that I can bypass the autoplay restrictions by doing sth like: window.onload = function()

HTML5 Video Error - Internet Explorer 9

你。 提交于 2019-12-29 05:00:31
问题 I am trying to get a .m4v video to play in IE9 using html5 video tags. When I play the video from a remote location it works fine: <video src="http://www.jplayer.org/video/m4v/Big_Buck_Bunny_Trailer_480x270_h264aac.m4v" controls="controls"> </video> But when I want to play it from my server... <video src="Big_Buck_Bunny_Trailer_480x270_h264aac.m4v" controls="controls"> </video> ...it only works in Chrome and not in IE9. What could cause the video not to play when located on my server? Many