Website YouTube video embeded place on ads via website

purewisdom

Regular Member
Joined
Jan 6, 2013
Messages
327
Reaction score
53
Hello there I am looking at uploading to youtube with unlisted videos and embedding them on my website. For monetization I was looking at creating my own version of skiable ads like the free version of crunchyroll has. Dose anyone know how I could do this ? for eg I had a 30 min video and there on my website watching it at the 10 minute marker I would like a invideo ad to pop up or a website ad then after the ad finishes you can continue watching like twitch stream without adblocker :P. dose anyone know how I could do this as I cant use youtube to monetize the videos.

Regards Purewisdom
 
You will not be able to edit or put the ads right inside the YouTube-embedded player (that's basically a website and you can't edit the content via JS (or other method) due to most browsers' security against XSS).

Google "js pause youtube embedded player" and click on the first result (StackOverflow). You'll see how to pause and play, and hide the player (maybe to insert the ad).
 
you can put your "skippable" ads on the first page (page A) and when it watched or skipped with a click it will load another page (page B) with the embed code from youtube on autoplay, this is for the beginning of the video only, to do it in the middle, your script need to take focus to the pop ad, i don't sure this is possible to go back to play from that point again, you need to check with a JS expert.
 
Thank you for the help! Will look to see if a JS can find a way
 
Is there anyway of making a video ad pop up on the website on a timer? and any idear how I could get video ads like youtube ones?
 
Back
Top