1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Website YouTube video embeded place on ads via website

Discussion in 'YouTube' started by purewisdom, May 16, 2016.

  1. purewisdom

    purewisdom Regular Member

    Joined:
    Jan 6, 2013
    Messages:
    325
    Likes Received:
    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
     
  2. belarminito11

    belarminito11 Junior Member

    Joined:
    Dec 22, 2013
    Messages:
    174
    Likes Received:
    89
    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).
     
  3. Cyberars

    Cyberars Jr. VIP Jr. VIP

    Joined:
    Nov 5, 2011
    Messages:
    249
    Likes Received:
    44
    Occupation:
    Internet Entrepreneur
    Home Page:
    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.
     
  4. purewisdom

    purewisdom Regular Member

    Joined:
    Jan 6, 2013
    Messages:
    325
    Likes Received:
    53
    Thank you for the help! Will look to see if a JS can find a way
     
  5. purewisdom

    purewisdom Regular Member

    Joined:
    Jan 6, 2013
    Messages:
    325
    Likes Received:
    53
    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?