HTML flicker when above VMR9 - javascript

I'm working on a web app with an ActiveX that decodes video with FFMPEG and renders the video using VMR9.
for some reason, each time I'm trying to put some HTML (even with IFrame) causes the panel to flicker.
How can I eliminate the flickering?
Maybe it is related to how I initialize the VMR9.
Thanks

Does the video play normal on your computer?
And for a webapp i recommend to decode in h.264.

Related

Flash fallback for jplayer won't work in chrome because "Invisible [Flash] content is always blocked."

So I have to use the Flash fallback for Jplayer when the user is using Google Chrome because of the way our audio streaming server is set up (HTML5 just doesn't play nicely with our Streaming Audio Icecast server for some reason, live streams are fine but static mp3s are not). All other browsers are fine!
However, it keeps blocking the player even if the site is selected to always play the flash plugin, and now it's printing this error in the console: "Same-origin plugin content from http://kansaspublicradio.org/widgets/audio-popup/jplayer/Jplayer.swf must have a visible size larger than 6 x 6 pixels, or it will be blocked. Invisible content is always blocked."
What's the best/easiest way to make the Flash player not be invisible?
Jplayer uses HTML elements for the controls. It's not like your typical Flash game or animation or anything, the Flash part is just used to play audio (when HTML5 isn't being uses).
Thanks for any help! I'm also aware that Flash is going away in a few years, hopefully we have a more ideal solution figured out by then.
Open jquery.jplayer.js or jquery.jplayer.min.js and find setAttribute("width". Here you can adjust the width and height of the loaded player. Setting this to something above 6x6 should fix your issue.
Unfortunately the official jPlayer project is no longer maintained and pull requests are ignored, so you'll have to do this manually.

Can't get html5 video in a webpage to loop or autoplay on android browser?

The final device I'll be putting this on is an android TV box, but I'm testing on my galaxy s5. Both are having the same issue.
I'm using Full Screen Browser by Klurige, and I originally had some GIF's at the bottom of the page that I wanted to loop, but they ended up being to clunky and big to run efficiently on the TVbox, so I decided to switch over to html5. I've tried with WEBM and MP4, both are doing the same thing.
I have the autoplay and loop attributes in the html5 video as such:
<video id="zach" loop autoplay class="picture"><source src="P-Zach.webm">Error</video>
Neither works be default in the browser. I just see a gray video icon. I can't even click to start it.
I've tried formatting in different ways and everything mentioned on the broken-links.com blog post people keep pointing to. I've tried javascript .play() options. None do anything.
If I add the controls attribute to the video, I can play the video, so I know the video file works, but it still won't loop.
Any help?
Okay, so it looks like it has something to do with android blocking webview from letting javascript control the html5 video.
That, in combination with the lack of native support for loop or autoplay attributes made me ditch fullscreen browser and switch to the only browser I could find that DID support those - Firefox.
I used an app called Ful!screen (or something like that) to remove the notification bar, loaded firefox with the webpage (with html5 playing and looping perfectly) and scrolled down slightly to hide the top bar.
Tada! Fullscreen browser with html5 video instead of GIFs.
Solved my own issue another way.

Please suggest solution for Crashing Swiffy converted swf to html5 on IPAD safari

I have stuck at problem of crashing of swiffy converted swf file in html5
I am working on e-learning
In my course I am integrating the swiffy converted html5 files
After viewing some pages the player in which i am loading html5 files gets crached
some times immediately after loading it gets crashed
I tried to destroy the old object of swiffy using destroy method and also made stage=null of previous file
So kindly suggest some solution for crashing problem of swiffy on IPAD_safari
And I want to also know how to convert swf into html if my file size is more than 1024kb
Thanks in advance

html5 audio crashes on seeking

I have a ASP.NET Application and I want to use the tag to play music.
In the codebehind I write this element
<audio controls preload src='PATH/TO/FILE'></audio>
into a literal.
The Problem is that the player crashes when I click in the seek bar at a position behind the current position.
There is no error message or any other response. It just stops working. I have to reload the page to get it working again.
Seeking forward just works fine with small files. With larger files (a song with about 2:00 min) the controls gets grey and nothing happens anymore until I click in the seekbar again nearby the starting position.
When I create a simple HTML File with nothing else than this audio tag the seeking works.
I'm using Chrome v. 26.
I have no idea why this is not working in the ASP.NET application...
The next problem is that I can't use something like soundmanager2 oder jPlayer. I used soundmanager2 before but I had many problems with it.
In the test above I just use one sound file with the audio tag but in the final state there will be a couple of players.
the sound files are created dynamically and so are the players and this happens with ajax. I had to recreate the soundmanager2 object every time and there occurred several problems.
So my hope is that somebody maybe has an idea why the audio tag is not working correctly in the ASP.NET application or give me a hint to something how I can achieve it to have multiple audio players on one page which changes dynamically per ajax.
i finally found it...
This post helped me
The problem was that the path of the sound file was on localhost.
After i uploaded it to a server and used that url it worked.
I think that the reason it worked with the simple HTML testfile was because i used an absolute Path there to the wavfile.

IFRAME has a lot of problems with iPad safari

i am developing a java web application which will be browsed using iPad safari through 3G\VPN connection, i have an IFRAME its SRC is a url to a servlet that sends a pdf file to the IFRAM
<iframe src="documentviewer?docid=#{viewIncomingBean.incoming.id}" width="610px" height="5000px"></iframe>
problems with IFRAM on iPad Safari are:
1 -after calculating the time taken on server side to flush the pdf file in the output stream to the client i found that the IFRAME takes a very long time to getting rendered and the pdf file loaded on client side (please have a look Using Iframes Sparingly).
2 - on iPad Safari the IFRAME can't be scrolled using regular one finger touch style, you must use two fingers to scroll the IFRAME up and down (please have a look ipad and iframe problem).
is there is any other better way to load the pdf file in a web page ????
I had to develop a pdf viewer for an ipad site we were working on. We could not make the scroll work with other thing but the two fingers.
What we did was to use http://mozilla.github.com/pdf.js
it is a javascript renderer for pdf documents. It works great ... of course, if you dont use IE.
another solution is to use the document reader of google ... https://docs.google.com/viewer

Categories

Resources