Chrome extension context menu doesn't work on YouTube HTML5 players - html

I made a context menu by using chrome api(http://developer.chrome.com/extensions/samples.html#contextMenus) to develop a chrome extension.
when I right click on a Vimeo HTML5 video player, the context shows up.
but on a YouTube HTML5 video, it doesn't show up. (I've enabled HTML5 player at YouTube)
why is this difference occurred even they use the same HTML5 player?
perhaps Vimeo uses another video platform instead of HTML5 player?
please answer me :-)

Related

Flash video working on one of two sites in Chrome

I am developing a pair of websites (podyplomie.pl and magwet.pl).
On both of them we have added a video player (JWPlayer).
I am almost sure flash player on both of them was working in the beginnig but now I can play the video (in flash) only on one of the sites (podyplomie.pl).
The other site is missing flash player in the list of navigator.plugins. Both sites are very similar so it's quite strange that one of them 'contains' the flash player and the second doesn't.
Has anyone got an idea what is wrong ?
The video urls are eg:
Video on magwet.pl
Video on podyplomie.pl
You don't have any Flash video (.FLV). Your videos are in .MP4 format. Chrome browser can play MP4 with it's own decoding engine (no need for plugins like Flash). JW Player is seeing MP4 given as video source so it talks to browser not plugin...
PS: To force Flash plugin usage then provide an .flv file or rtmp:// link.

How is this Flash video playable on mobile devices [using JWPlayer]?

I'm trying to make my anime-streaming website FLV videos playable on mobile device, so I changed the technology I'm using from flash to HTML5 MP4, webM and OGG.
But while I'm surfing this site - which is using jwPlayer - from my Android device:
Here
I found that the video is working well although it is using FLV?
Can anyone explain how this could happen?
It is a feature of JWplayer. It will detect when Flash is not supported and switch to HTML5.
This is from their website:
JW Player is tested on the world’s most popular desktop browsers to
ensure the best playback experience for your viewers. From IE8 to the
latest version of Chrome, on Windows and OS X we ensure that any user
can watch your content. JW Player always selects the best playback
mode for your media behind the scenes.
http://www.jwplayer.com/products/jwplayer/html5-and-flash/
I found that the video is working well although it is using FLV ?!
Please, can anyone explain how could this happen ?
Are you saying FLV because it is Flash? Did you know Flash itself can play MP4 files anyway? Looking at the source code I see MP4 video files provided so I think they are just using Flash Player app to play MP4 files where plugin is available or else then using HTML5 for mobile etc.
Test by disabling Flash Plugin in mobile browser settings, you should now see an HTML5 player instead for handling exact same file that Flash app was playing.
So to answer : How is this Flash video playable on mobile devices [using JWPlayer]?
You have a mobile with Flash Plugin installed and you visited a page that had a video player app made with Flash to play some MP4 files. Your mobile is flash capable so it worked and you watched some MP4 file using a Flash decoder instead of an HTML5 decoder.

What video player does html5 use?

Suppose I use the <video> tag to include some video in my webpage. When a client visits this page, the video is played:
1) By his browser. So even if his computer has installed no programs like Window Media Player, the video still plays.
2) By a default program chosen by his OS, but somehow this program is now embedded in the browser UI. For example, if the OS use WMP to play .mp4 video, now the browser is also using WMP.
The HTML5 video player does no longer use a plugin for video playback like you used to do.
Instead there is a video standard defined in the html5 specs W3.org - html5 - video
It is up to the browser makers to correctly implement these standards in their browser and therefor to implement a videoplayer.

Any Trick to Play HTML5 Video Player + MP4 Video in every browser?

I am building Self Hosted Video tutorial website.
I want to use HTML5 Player But with just one single Video format (mp4). But problem is that in some browsers like opera MP4 format is not supported.
I know for this i have to add multiple formats in html5 video player but having multiple versions (formats) of the same video will occupy multiple times of space in hosting.
Please give Suggestions.
There is no support for html5 before IE 9.i think you should use Video.Js.The Video.js API allows you to control the video through javascript or trigger event listeners, whether the video is playing through HTML5, flash, or another playback technology.
you can download it from here.
http://www.videojs.com/
read the documentation here.
https://github.com/videojs/video.js/blob/v4.2.2/docs/index.md

HTML5 video and encoding checklist

So I did a little searching about the whole issue with HTML5 video tag etc. My client doesnt want the videos to be played through FLASH and general youtube. So he wants a custom video player and we should upload the video files to our server.
I have a problem displaying the video in Google Chrome why is that? http://www.2kfilms.com/jw_test2.html
In the above link you can see that it displays normally in IE. I found out that the best encoding you should have with HTML5 is: H.264 *OGG* and WEBM
So if I have the 3 different formats will it also play in Chrome?
Even this video here: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_video
doesnt play in my Google Chrome, and I find it weird. Its black and I can only hear Audio