| 
		
			
			
				
			
			
				 
			
			
				
			
		 | 
		
			
			
				 
			
				
			
		 | 
	||||
| 
				Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.  You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us.  | 
		
		 
		![]()  | 
	
		
			
  | 	
	
	
		
		|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. | 
| 
		 | 
	Thread Tools | 
| 
			
			 | 
		#1 | 
| 
			
			
			
			 ♫ ♪ ♫ ♪ ▄ █ ▄ █ ▄ ▄ █ ▄ █ 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Apr 2009 
				Location: Tell your mom, money is on the fridge 
				
				
					Posts: 3,561
				 
				
				
				
				 | 
	
	
	
	
		
			
			 
				
				HTML5 Mobile Banner ?
			 
			Hey, having some problems with my html5 banner code on apple devices, basically I want the .mp4 to autoplay and loop how it should, on desktop the code works fine but on apple devices it doesn't autoplay and shows a big play button in the centre. 
		
	
		
		
		
		
			Willing to pay $10 paxum if someone can figure this out quickly This is my code. <a href="%url0%" target="_blank"><video width="300" height="100" preload="auto" src="http://INSERT_YOUR_MP4.mp4" loop="loop" autoplay="autoplay" muted="muted"></video></a> 
				__________________ 
		
		
		
		
	
	tg - @LJFreeza email - animefevers(AT)hotmail(DOT)co(DOT)uk  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 ... 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Apr 2003 
				
				
				
					Posts: 2,280
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 need to use js to make it happen on iOS, not sure if it still works but try this one 
		
	
		
		
		
		
		
	
	https://www.easy-bits.com/iphone-inline-video-autostart  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#3 | |
| 
			
			
			
			 ♫ ♪ ♫ ♪ ▄ █ ▄ █ ▄ ▄ █ ▄ █ 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Apr 2009 
				Location: Tell your mom, money is on the fridge 
				
				
					Posts: 3,561
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 
				__________________ 
		
		
		
		
	
	tg - @LJFreeza email - animefevers(AT)hotmail(DOT)co(DOT)uk  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Making PHP work 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Nov 2002 
				Location: 🌎🌅🌈🌇 
				
				
					Posts: 20,652
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Try what I just wrote for you : 
		
	
		
		
		
		
			
		
		
		
		
	
	Code: 
	<a href="http://somesite.com" target="_blank"><video id=bannervid width="300" height="100" preload="auto" src="somevideo.mp4" loop="loop" autoplay="autoplay" muted="muted" ></video></a>
<script>
function vidloop() {
	bannervid.currentTime=0;
	bannervid.play();
} 
(function() {
	document.addEventListener("DOMContentLoaded", bannervid, false); 
	bannervid = document.getElementById("bannervid");
	bannervid.addEventListener("ended", vidloop, false);
	function bannervid() {  
		if (bannervid.canPlayType) {  
			bannervid.play();
		}
	}
})();
</script>
 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#5 | |
| 
			
			
			
			
			
		
			
				
			
			
			 Industry Role:  
				Join Date: Mar 2003 
				Location: San Diego 
				
				
					Posts: 32,277
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 
				__________________ 
		
		
		
		
	
	 | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#6 | |
| 
			
			
			
			 Making PHP work 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Nov 2002 
				Location: 🌎🌅🌈🌇 
				
				
					Posts: 20,652
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 ![]() ![]()  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#7 | |
| 
			
			
			
			 Making PHP work 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Nov 2002 
				Location: 🌎🌅🌈🌇 
				
				
					Posts: 20,652
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 I'd be happy to get $10. (I have paypal not paxum)  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#8 | |
| 
			
			
			
			 ♫ ♪ ♫ ♪ ▄ █ ▄ █ ▄ ▄ █ ▄ █ 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Apr 2009 
				Location: Tell your mom, money is on the fridge 
				
				
					Posts: 3,561
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 
				__________________ 
		
		
		
		
	
	tg - @LJFreeza email - animefevers(AT)hotmail(DOT)co(DOT)uk  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#9 | |
| 
			
			
			
			 Making PHP work 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Nov 2002 
				Location: 🌎🌅🌈🌇 
				
				
					Posts: 20,652
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 Did you make sure the video tag has "id=bannervid"? That's required for it to work; if you didn't copy my entire code then that's the problem.  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 ♫ ♪ ♫ ♪ ▄ █ ▄ █ ▄ ▄ █ ▄ █ 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Apr 2009 
				Location: Tell your mom, money is on the fridge 
				
				
					Posts: 3,561
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 I think I may just have to use this for ios D: Video to animated GIF converter 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	tg - @LJFreeza email - animefevers(AT)hotmail(DOT)co(DOT)uk  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#11 | 
| 
			
			
			
			 ♫ ♪ ♫ ♪ ▄ █ ▄ █ ▄ ▄ █ ▄ █ 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Apr 2009 
				Location: Tell your mom, money is on the fridge 
				
				
					Posts: 3,561
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		
		
	
		
		
		
		
			 
				__________________ 
		
		
		
		
	
	tg - @LJFreeza email - animefevers(AT)hotmail(DOT)co(DOT)uk  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#12 | 
| 
			
			
			
			 (>^_^)b 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Dec 2011 
				
				
				
					Posts: 7,224
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 iOS9 requires a gesture before <video> plays. 
		
	
		
		
		
		
			iOS10 is more lenient, but still has these requirements: "<video autoplay> elements will now honor the autoplay attribute, for elements which meet the following conditions: <video> elements will be allowed to autoplay without a user gesture if their source media contains no audio tracks. <video muted> elements will also be allowed to autoplay without a user gesture. If a <video> element gains an audio track or becomes un-muted without a user gesture, playback will pause. <video autoplay> elements will only begin playing when visible on-screen such as when they are scrolled into the viewport, made visible through CSS, and inserted into the DOM. <video autoplay> elements will pause if they become non-visible, such as by being scrolled out of the viewport." 
				__________________ 
		
		
		
		
	
	 Join the BEST cam affiliate program on the internet! I've referred over $1.7mil in spending this past year, you should join in. ![]() I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..  
			 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#13 | |
| 
			
			
			
			 ♫ ♪ ♫ ♪ ▄ █ ▄ █ ▄ ▄ █ ▄ █ 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Apr 2009 
				Location: Tell your mom, money is on the fridge 
				
				
					Posts: 3,561
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 Your code works it's just not doing what I need it to do on ios (auto play, loop) 
				__________________ 
		
		
		
		
	
	tg - @LJFreeza email - animefevers(AT)hotmail(DOT)co(DOT)uk  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#14 | |
| 
			
			
			
			 Making PHP work 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Nov 2002 
				Location: 🌎🌅🌈🌇 
				
				
					Posts: 20,652
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 OK, try this : Change the link and video url of course. Code: 
	<a href="http://google.com" target="_blank"><video id=bannervid preload="auto" width="300" height="100" preload="auto" src="soultrain.mp4" loop="loop" autoplay="autoplay" muted="muted"></video></a>
<script>
function vidloop() {
	bannervid.currentTime=0;
	bannervid.play();
} 
window.onload = function(){ 
	bannervid = document.getElementById("bannervid");
	bannervid.addEventListener("ended", vidloop, false);
	setTimeout(playitnow, 1300); 
}
function playitnow() {
	bannervid.volume=0;
	bannervid.play();
}
</script>
 | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#15 | 
| 
			
			
			
			 (>^_^)b 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Dec 2011 
				
				
				
					Posts: 7,224
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Which iOS version are you testing? 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
	 Join the BEST cam affiliate program on the internet! I've referred over $1.7mil in spending this past year, you should join in. ![]() I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..  
			 | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#16 | |
| 
			
			
			
			 ♫ ♪ ♫ ♪ ▄ █ ▄ █ ▄ ▄ █ ▄ █ 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Apr 2009 
				Location: Tell your mom, money is on the fridge 
				
				
					Posts: 3,561
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Quote: 
	
 The latest version, I'm testing these codes with ios 10.2 
				__________________ 
		
		
		
		
	
	tg - @LJFreeza email - animefevers(AT)hotmail(DOT)co(DOT)uk  | 
|
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#17 | 
| 
			
			
			
			 Making PHP work 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Nov 2002 
				Location: 🌎🌅🌈🌇 
				
				
					Posts: 20,652
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Show me the webpage because the code works. 
		
	
		
		
		
		
			
		
		
		
		
	
	You're not helping us help you if you don't show us a webpage with the problem. You can send the link on private message if you have to.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#18 | 
| 
			
			
			
			 Making PHP work 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Nov 2002 
				Location: 🌎🌅🌈🌇 
				
				
					Posts: 20,652
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		![]() ..  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 |