Avoid "Allow full screen" in HTML5 - html

In Youtube , on clicking full-screen [Even in Private Browsing] "Allow full screen" will not appear.
Anyway to do like video on fullscreen

The Allow Full Screen dialog appears out of security reasons and can therefore not be turned of. This prevents websites scamming users. Check out this article for more information: http://feross.org/html5-fullscreen-api-attack/
Youtube is able to show you videos in full screen without asking because the videos are delivered with flash which can bypass the browsers security limitations.

Related

HTML5 video player not working for Twitter videos

I am retrieving tweets via the Twitter api and attempting to embed their video attachments.
Embed Code:
<video controls="">
<source src="https://video.twimg.com/ext_tw_video/1444247208514113546/pu/vid/1280x720/6rw0rzMWMSk39eoz.mp4?tag=12" type="video/mp4">
</video>
Firefox:
The above code fails to render the video player altogether in firefox, choosing instead to simply return: No video with supported format and MIME type found.
Note: There is no issue in playback when the video url is entered directly into the address bar.
Chrome:
Chrome spontaneously stops playback after 0-4 seconds, returning to the first frame. This behavior is somewhat sporadic, occurring sometimes, but not always. When it does occur, no matter how many times the play button is pressed, the video is unable to progress any further. Once a video is in memory and has been successfully loaded by refreshing the page, it no longer behaves in this way. Like firefox, there is no issue in loading or playback if the video url is entered directly into the address bar.
Video demonstration:
Some more examples of twitter videos to play with:
Many site issues such as the No video with supported format and MIME type found error can be caused by corrupted cookies or cache.This can cause streaming problems in any browser
Firefox Solution:
I suggest you Clear the Cache and Remove Cookies in your settings
Warning ! ! This will log you out of sites you're logged in to.
To do this enter about:preferences in the url bar.
To clear Cookies: Select Privacy under History, then select Firefox will Use Custom Settings. Press the button on the right side called Show Cookies, then use the search bar to look for the site. There may be more than one cookie in use for this site. Remove All of them.
To clear cache: Select Advanced > Network. Across from Cached Web Content, Press Clear Now.
If there is still a problem, Start Firefox in Safe Mode {web link} While you are in safe mode;
Then restart.
Chrome solution:
At the top right, click the More button
Navigate to More tools > Clear browsing data .
At the top, choose a time range. To delete everything, select All time.
Next to Cookies and other site data and Cached images and files, check the boxes.
Click the Clear data button.

Limiting google chrome fullscreen to window size

Context;
I had the issue of needing to play youtube videos in fullscreen, but still needing access to the my tabs. So I needed a way to limit the view to the sites viewing window.
Question;
Is there a way to limit the fullscreen view of a video to the --window-size of it?
Or a way to intercept a fullscreen request and denying it?
So it is possible on a desktop and mobile limit the fullscreen view

Vimeo :domain-level embed privacy : How to handle video link if someone use inspect webpage and change video id

I am planning to use Vimeo for hosting my educational video series which I want to restrict specific videos to specific user as per what plan / course they have purchased.
After lots of googling, I came across one option in Vimeo to set "domain-level embed privacy" so that only from my site video will be played.
But what if someone inspect webpage and change video url which is private?
Vimeo forum relevent link : https://vimeo.com/forums/api/topic:277888
"If you want to keep your video's privacy set to domain-level embed privacy, one workaround is to embed the video on a domain you control, and then embed that page in your Android webapp."
is there any way to handle this as if someone tried many url changes then he can see video from my website even if I have set them private and domain level security.
In near future, I want to use same in my android app as well so that logged in user can see videos they allowed.
Thanks in advance.
Can someone guide me for this usecase?
But what if someone inspects the webpage and changes the video url which is
private?
If someone inspects the webpage and changes the video url then the change will be local to their system and temporary. As they refresh page it will revert back to original. No website on earth can stop this from happening.
is there any way to handle this as if someone tried many url changes
then he can see video from my website even if I have set them private
and domain level security.
Domain level security as far as I understand means that you can embed video on a website on a particular domain only such as - yourdomain.com. Changing the url of embedded video will not load any video as video is hosted on provided url only.
In near future, I want to use same in my android app as well so that
logged in user can see videos they allowed.
In an android app you can load your page in a webview or inappbrowser. And on a website you can make certain pages accessible to authenticated user only. On top of that you can also implement record level security, so that a particular course is accessible only to people with subscription to that course.

Playing playlist of videos in background on Chrome

Due to a fairly recent update, Chrome no longer will autoplay media content such as video if it tries to start in a tab or window which does not have focus.
There are a few sites, including my own - which rely on switching then playing videos in the background as a music player. This has been broken by Chrome, with their idea being that it prevents annoying videos from playing.
I'm reluctant to even consider building a chrome extension to circumvent this (if that would even work), but would like to hear how if possible. Is there any way to get around this annoying issue?
edit: according to this reddit post it may not be Chrome, but YouTube's chrome specific implementation...
edit2: this Chrome issue states that “Once a tab / RenderFrame has ever played media before, it’s allowed to continue to autoplay/autoload indefinitely; this is to support playlist type applications.” - Perhaps if somehow a 'RenderFrame' contains all future media which is also loaded by AJAX this will work... whatever a render frame is (Since as noted in the comments, a page reload/change does not count as the user having allowed autoplay.)

How to embed my Vimeo video in my own site and allow only authenticated users to view?

I want to create app that allow users to upload their video to my Vimeo account. I want to hide these video from others. And allow only authenticated users of my app to view these videos.
My question is does Vimeo allow me to do? If yes, how can I do?
Yes! It can be done on a web site. I have recently seen this done on a tutorial site, using a privacy setting available per video. I trust this could also be done using an app, but it's possible the access permissons may be different.
Try checking this page for more details:
http://vimeo.com/help/faq/managing-your-videos/privacy-settings#what-do-the-different-privacy-settings-do
Pay particular attention to the following point, you can make a video exclusive to your site, but for a premium:
You can select from the following privacy options for video embedding:
Only on sites I choose (PLUS and Pro ONLY)
You can achieve it by following these steps:
Limit access to your video only with the private link.
Limit embed domain to your app/website domain
That`s it, now people will be able to view the video only through your embedded player and they will not be able to figure out the private link even with devtools