Copied to clipboard

Flag this post as spam?

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

  • WestLifeUmbraco 39 posts 70 karma points
    Nov 02, 2012 @ 19:06

    How can I change width and height of a video from YouTube?

    ASP.NET 4
    Umbraco 4.9

  • Giles 4 posts 24 karma points
    Dec 13, 2012 @ 02:19

    Did you resolve this?

    I'd do it with my own XSLT Macro that implemented the YouTube iFrame API e.g.:

    <iframe id="player" type="text/html" width="640" height="390"

    You'd just need to write a macro that wrote out the above but with the YouTube ID (u1zgFlCw8Aw) replaced with the value stored by your UMP YouTube picker.

    Then you could change the width and height to whatever you like.

    The YouTube iFrame API stuff is here:

    The free Umbraco videos would probably be a good place to start for XSLT macros.

Please Sign in or register to post replies

Write your reply to: