video autoplayed on iOS devices

50
February 26, 2019, at 10:10 PM

I have used video tag with autoplay attribute. I know that autoplay works if the video is muted and in my case there is no mute but, if I click on play button for first time as a gesture to play it, then after closing the video and again loading back, it does not required user gesture to play, it gets autoplayed. Once a user gesture is used to play the video then from second time video starts to autoplay as its own without any gesture. I have not found any policy regarding the second time autoplay on iphone devices without user gesture on play button. Please help me to find the policy which describes a user gesture required for the first time to start autoplay from the second time on its own in iphone devices. Thank you.

<video src="a.mp4" id="video" frameborder="0" controls="" autoplay="" playsinline="" preload="auto"></video>
READ ALSO
MongoDB $lookup pipeline match by _id not working

MongoDB $lookup pipeline match by _id not working

i'm trying to do a $lookup in a collection and add some data to my documentsThe problem is that when i try matching my $lookup pipeline by _id it returns an empty array

40
Javascript error - cannot call method &#39;appendChild&#39; of null

Javascript error - cannot call method 'appendChild' of null

I am new to Javascript (and programming in general) and have been trying to get a basic grasp on working with the DOMApologies if this is a very basic mistake, but I looked around and couldn't find an answer

10
Xpath how to get all text in the tag

Xpath how to get all text in the tag

I have this html code:

39
Scipy optimize minimize using dataframe

Scipy optimize minimize using dataframe

I have a dataframe with 3 columns: Y, X1, X2I want to find the parameter estimates b1 and b2 by minimizing the sum of squares according to:

25