Why Internet download manager doesn't come up in this page? - html5-video

I noticed that IDM (internet download manager) does not come up in this page when the video starts playing: https://www.w3schools.com/html/html5_video.asp
the code behind this page is a simple html5 video tag:
<video id="video1" style="width:600px;max-width:100%;" controls>
<source src="mov_bbb.mp4" type="video/mp4">
<source src="mov_bbb.ogg" type="video/ogg">
Your browser does not support HTML5 video.
</video>
When I use the exact same code with the same video in localhost, IDM starts. I have no special setting or exclusions in IDM. So what is the secret behind this page that IDM is not starting?

Some videos are protected by Copyright and use special protected protocol. It is restricted to save any data recived by this protocol. IDM does not support it for legal reasons.(Reference)
To check that this is the reason why video is not shown, you need to open "Options->General" IDM dialog and press "Edit" near "Customize IDM Download panels in browsers".

Related

browser autoplay policy. How does autoplay work in Netflix?

I've developed an application like netflix which streams video.
I'm working with video.js.
when I try to play unmuted video, it throw error says that
"Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https:// goo.gl/xX8pDD"
I can understand what the policy is, but I wonder how autoplay works in Netflix.
Video Preview on netflix works with sound well on chrome and safari.
as soon as I access the video chat page in Netflix party, it turns to play with sound.
I wanna know what they do and apply them to mine.
Thanks.
It seems some sites are whitelisted:
If you don’t have browsing history, Chrome allows autoplay for over 1,000 sites where we see that the highest percentage of visitors play media with sound.

How to make video auto play in every browser for Shopify website

I'm using the retina theme for the Shopify site. I'm using video on my home page but it's not autoplay in the chrome. another browser it's playing well...please tell me to need to customize code for autoplay in the chrome browser?
Chrome can autoplay the videos with sound off, so you'll need to add muted attribute.
<video autoplay muted>
...
</video>
https://developers.google.com/web/updates/2017/09/autoplay-policy-changes

Google Photos Video Streaming not Working in Safari

I'm trying to get a playable video from a url of a video stored on Google Photos. The documentation suggests adding "=dv" to the base_url
It play video in Chrome, Firefox but not in Safari.
How do I go about playing video in Safari from Google Photos API?
If I add "=m18" instead of "=dv" it will play a compressed version of video in Safari. But Google recommend to not use "=m18"
<div class="videoHolder" style="position: absolute; width: 1200px; height: 675px; top: 180.5px; left: 251px;">
<video id="video" width="1200" height="675" autoplay="" controls="true" preload="" playsinline="" muted="" poster="342278662.mp4"><source src="https://lh3.googleusercontent.com/lr/really_long_url=dv" type="video/mp4">
</video>
</div>
I'm expecting the video to stream, but I just see the buffering symbol
Any help would be very much appreciated.
Unfortunately, the Google Photos Library API does not currently support video streaming. If you want to access a video for playback, you have to use the =dv base URL parameter to download the file first.
Unfortunately this is a known limitation, you can follow the feature request on the issue tracker here: https://issuetracker.google.com/111931138
If you have a specific use case in mind or technology that should be supported, please add details to the feature request.

Brightcove autoplay videos not playing in iPad Safari

We have integrated Brightcove videos in our application. Autoplay videos play in desktop browsers but not playing in ipad Safari browser.
Please suggest if there is any limitation of playing autoplay videos in iPad/iPhone Safari browsers.
Please let me know if further info needed.
Autoplay option is disabled by default on mobile devices to avoid bandwidth consumption. User has to click play button to autoplay the video.
However if you want to enforce autoplay and muted attributes, but it will work only on latests versions of Chrome for Android and iOS 10.
You can read more about it here:
https://developers.google.com/web/updates/2016/07/autoplay
https://webkit.org/blog/6784/new-video-policies-for-ios/

Why will mp4 video not work when http basic authentication enabled?

I am trying to get video to play in an HTML5 video tag using the following code:
<video id="video" width="768" height="432" controls>
<source src="http://example.com/videos/example.mp4" type="video/mp4" />
</video>
Initially this was not working and I tracked it down to being an issue with Basic Authentication being enabled on the domain. However, if I try reenabling it in the .htaccess file as follows:
AuthUserFile /folder/containing/.htpasswd
AuthType Basic
AuthName "Members Area"
Require valid-user
The video player just stalls on the "Loading..." screen. Additionally if I try to access the file directly the playback in the browser reverts to using the quicktime controls and not the HTML5 controls you get when the authentication is turned off
At present the only solution I have is to remove / avoid requiring authentication in the folder containing the movie files for the site. However, I preferably need to keep the authentication enabled across the whole domain.
Therefore I am wondering if there is a way to serve video content which is located behind basic authentication.
Note: I am currently working to get this working in Safari and hence the focus towards the mp4 format.
You can use like this:
<video id="video" width="768" height="432" controls>
<source src="http://username:password#domainname.com/video/video.mp4" type="video/mp4" />
</video>
This can help I think.