Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Robin Hansen 135 posts 368 karma points
    May 28, 2014 @ 14:50
    Robin Hansen
    0

    Additional info to youtube embedded media

    When I enters a youtube URL in the RTE embed media button I get the following code on my frontend:

    <iframe width="773" height="360" src="https://www.youtube.com/embed/7-7knsP2n5w?feature=oembed" frameborder="0" allowfullscreen=""></iframe>

    How can I extend the iframe with theese attributes:

     id="youtubeplayer" class="borderbox center-block"

    and add the theese parameters to the youtube url:

    &showinfo=0&controls=1

    so the final iframe/code looks like this:

    <iframe id="youtubeplayer" class="borderbox center-block" width="773" height="360" src="https://www.youtube.com/embed/7-7knsP2n5w?feature=oembed&showinfo=0&controls=1" frameborder="0" allowfullscreen=""></iframe>

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    May 28, 2014 @ 15:18
    Jan Skovgaard
    0

    Hi Robin

    What version of Umbraco are you using? And is it the embed option from the rich text editor you're using?

    /Jan

  • Robin Hansen 135 posts 368 karma points
    May 28, 2014 @ 15:22
    Robin Hansen
    0

    V. 7.0.3 (soon 7.0.4 ;-)) - yes I use the embed option in the RTE...

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    May 29, 2014 @ 18:48
    Jan Skovgaard
    0

    Hi Robin

    Ok - Perhaps an upgrade to 7.1.4 could be the solution?

    /Jan

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies