1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Youtube Embed vs Youtube player API

Discussion in 'HTML & Website Design' started by CactusWren, May 27, 2020.

  1. #1
    I am learning about embedding videos and wanted to know which method is better?
    SEMrush
    Previously, I've just used the share>embed method and pasted a bunch on one page. But I've come across the method shown here. It uses html and JavaScript to put the iframe up. Apparently there used to be another way to change the parameters, but it was deprecated?

    Is using the api method faster or have other benefits I should know about? I am rather new at JavaScript, but I can more or less follow what's going on.
     
    CactusWren, May 27, 2020 IP
    SEMrush
  2. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Messages:
    6,408
    Likes Received:
    1,368
    Best Answers:
    24
    Trophy Points:
    400
    #2
    qwikad.com, May 27, 2020 IP