Laravel YouTube embed play only once (PHP)

How to get a youtube video to play only once first time then show play button.

working code

 

Refs:
http://erichickstech.com/how-to-autoplay-play-a-youtube-video-only-once-by-setting-a-cookie/http://www.webhostingtalk.com/showthread.php?t=1116635

Sam Deering is a web developer from England (currently living in Australia). In his spare time he enjoys coding, playing chess, reading and investing.

Leave a Reply

Your email address will not be published. Required fields are marked *