I am using a web based html5 mobile app builder (tiggzi). I am using the youtube iframe api. When I install my app on my android devices the embedded video displays the placeholder image just fine. On my nexus 7 with android 4.2.2 if I hit play I hear the sound but do not see the video (black). If I hit the full screen I see the video play ok. On my android 4.0.4 bionic phone I see the video placeholder image but play just shows black and full screen does not respond (ultimately app crashes). On my desktop machine testing my app in chrome video plays fine.
my html:
<iframe class="youtube-player" type="text/html" width="640" height="385" src="http://www.youtube.com/embed/u1zgFlCw8Aw" frameborder="0">
</iframe>
Question is, how do I get video to play correctly as embedded in and html5 mobile app for both android 2+ and iphone/ipad? I thought the iframe api would work but it still falls back to flash which appears to be the problem in my case.
Related
I am a pro member of Vimeo using Background Videos through out a website. These videos have no audio, and loop at the top of the page. It works well, except on an ipad, which only plays the video once then stops.
Here is the code i'm using:
<div id="interiorHeaderVideo" class="vimeo-wrapper">
<iframe src="https://player.vimeo.com/video/408561072?background=1" frameborder="0">
</iframe>
</div>
I am loading Vimeo player.js in the header using:
<script async="true" src="https://player.vimeo.com/api/player.js"></script>
Here is an example of the video not looping at the top on ipad. (must view on ipad to see the issue, it does loop on other devices):
https://www.synteract.com/Therapeutic-Expertise/Neuroscience
I've tried to search why this might be. I know mobile devices don't like to auto play videos, but I haven't heard anyone say anything about mobile devices stopping a video from looping.
Is there any reason ipad would prevent looping while other devices allow it?
I am encoding camera stream to ogg an showing it on HTML5 app.
On Windows:-
chrome - showing green screen sometimes and sometimes streams shows up.
Mozilla - working fine
On android
chrome - not working
Mozilla - Working fine
WebView- not working, a big play button appears
HTML code-
<video autoplay loop ><source type="video/ogg" src="streampath/name.ogg">
</video>
Vlc streaming code
cvlc -vvv rtsp://cameraInputStream --sout '#transcode{vcodec=theo, vb=800, channels=1, ab=128, samplerate=44100, width=320}:http{dst=:8090/output.ogg}'
Why it is not working on android chrome browser ,android webview and green screen on windows chrome.
I am currently using the vimeo embed code for iframe and all has been working fine until recently. All of the sudden the fullscreen button on the player no longer works. Same thing is occurring on Windows with FireFox version 41.0.2, but conversely works on Mac OSX. Chrome fails to go fullscreen on both Windows and OSX.
Try adding the html5 fullscreen attributes to your iframe:
<iframe src="//player.vimeo.com/video/VIDEO_ID" width="WIDTH" height="HEIGHT" frameborder="0" webkitallowfullscreen="true" mozallowfullscreen="true" allowfullscreen="true"></iframe>
I am trying to embed a video in my html page but it is not loading on the iPhone (all I get is a crossed out play button). It loads fine on the desktop and Android. It is not a browser issue because I get the same error using both Chrome and Safari on my iPhone.
<div id="video_container">
<video width="400" height="400" controls preload="none" poster="/static/img/tag_logo.png">
<source src="/static/videos/movie.mp4" type="video/mp4"></source>
</video>
</div>
Interestingly I have tested out my code with the video from the video.js sample project. If I replace my current source tag with this the video loads:
<source src="http://video-js.zencoder.com/oceans-clip.mp4" type="video/mp4"></source>
However, I also downloaded the video from the video.js site, but it does not load on my iPhone
<source src="/static/videos/oceans-clip.mp4" type="video/mp4></source>
Codecs for the videos I am trying out all have AAC and H.264 codecs and are mp4s
I have also tried converting my video files to iPhone ready mp4 files using Miro Video Converter but still no luck with loading on the webpage
I am testing on localhost and am using nginx and flask
After more testing: according to the Chrome inspector I am getting response headers back for my video url GET request which explains why it plays on the desktop web. However, for iPhone, the Safari inspector says that I am not getting response headers back. And on Android, I do not get response headers back either, but for some reason the video is still able to play in the webpage on my Android device.
Any help would be appreciated
It could be your host server setup. For example when I use Go Daddy, SVG files won't display on my site. You can either check out the config or add a file that allows the MIME type. More on MIME types here: http://blogs.iis.net/bills/archive/2008/03/25/how-to-add-mime-types-with-iis7-web-config.aspx
Just change the video extension to .mov.
Im trying to play vimeo video in samsung smart TV app from specified time using iframe.Im just appending the video url with ?#t=0m50s.This works fine in browser like chrome and safari which support webkit, but in smart TV it starts from beginning.
<iframe src="http://player.vimeo.com/video/86874445?autoplay=1?#t=0m50s" width="900" height="460" frameborder="0" ></iframe>
It is given that samsung smart TV has also started using webkit browser engine and hence supports HTML5.If that is the case it should work.where I am going wrong..