I want to prevent users of my website to record videos content by screen recording as netflix , i want to use only javascript
I tried to find solution over internet but i have failed
Related
My goal is to create a webpage that only displays a full screen video on a TV. Then have a second webpage someone could open up on their mobile device (via a QR code) and have a choice of 4 videos. Once you tap a video on the mobile device, it changes the full screen video on the tv. What is the best way to do this? I was thinking via a MySQL DB storing the webpage, then using JS to check if the content in the DB has been updated, and if it has, make the change on the tv. Is this the best way?
I have a video in MP4 format sitting in a directory on my website. On a smartphone, when someone clicks a link, I want to open the video in full screen mode, while leaving the website exactly where it was before. So that after the video plays, the user can close it, and the website is still there. What is the best way to do this?
I already have a separate link for smartphones. I am handling the video in a different way on other types of devices.
Is it possible to reset the location warnings in ios from javascript run on the website?
I am finding that if users keep denying access to their location when visiting my website that eventually they no longer get the choice. Now I know that they can reset their settings on their iPhones but I would like to be able to force the "Deny or Allow" dialog box to appear every time they visit my website.
Is this possible? If so how?
I'm trying to get it understand but after 2 days of digging the code I thought that I will post my issue here...
According to Apple's documentation, autoplaying videos on iOS devices cannot be done without user interaction first (e.g. tap on video). Despite that, mobile YouTube (m.youtube.com) is able to autoplay its videos just after loading a page with video.
Does anyone know how they are doing it?
PS. I've checked all available JS/HTML techniques of autoplaying videos on website on iOS (e.g. iframe, fake click, triggering touch event on video, fetching video with XHR).
I believe that youtube.com is a single page app. So when the user clicks on the video from the list view the page is not loading and their javascript uses that initial click, that leads to the video page, as the click that starts the video. It's not actually autoplaying, it's just a trick.
I want to automatically play a YouTube video but because of how YouTube's view counter is set up, autoplay views will not count as views.
How can I simulate a user interaction tap in a UIWebView so YouTube thinks that the user pressed/tapped play?
Or do you "think" that a very near version of iOS will support this?
Trying to phrase that in NDA accordance. Do you think it would work if I changed the user agent of the UIWebView to a desktop user agent and displayed a standard YouTube page?
On the desktop YouTube videos autoplay on Youtube.com but this does not work on mobile.
I have set mediaPlaybackRequiresUserAction to no.