WordPress.org

Ready to get started?Download WordPress

Forums

Vixy YouTube Embed and Download
[resolved] Frame border in IE7 + 8 please add correct iframe embed code (9 posts)

  1. shortster
    Member
    Posted 2 years ago #

    When you check the embed code of a video on youtube, you see it has a frameborder attribute on the iframe, and it's set to 0. This is to prevent the iframe from having a border. The inline style this plugin provides is not enough to prevent the border from showing on all browsers.

    Please add frameborder="0" to line 336 of generate-embed-code.php and I will be a happy camper.

    http://wordpress.org/extend/plugins/youtube-embed/

  2. dartiss
    Member
    Posted 2 years ago #

    Consider it added to the next release!

    David.

  3. shortster
    Member
    Posted 2 years ago #

    Great service David!

    Cheers, Sjoerd

  4. shortster
    Member
    Posted 2 years ago #

    So now that we're talking features.. :)

    Could you please add an option to remove the video title as well? Just add &showinfo=0 to the query string to prevent the title from showing.

  5. dartiss
    Member
    Posted 2 years ago #

    There already is that option ;) Simply add info=no to the parameter string.

    David.

  6. shortster
    Member
    Posted 2 years ago #

    But where can I edit the parameter string in the plugin options? I mean, I don't want my blog authors to have to start adding parameters to the youtube embed code.

    I don't think I will be able to explain to them how and why they have to add parameters, if you know what I mean ;)

  7. dartiss
    Member
    Posted 2 years ago #

    You can set the parameter on a video-by-video basis or, like any other parameter, it can be set to a default in the Profiles section of the administration screen.

    David.

  8. shortster
    Member
    Posted 2 years ago #

    I've found the problem. In the options in the profiles section you can set:
    "Information - Display the video title and uploader before the video starts"

    When checked "&showinfo=1" is added to the embed parameter string. However youtube defaults to showing the title, so unchecking this option will also show the title, because then the parameter is not added.

    The easiest solution would be to change the text in the profiles section to:
    "Information - Hide the video title and uploader before the video starts"
    And on line 274 (generate-embed-code.php) change to showinfo=0

  9. dartiss
    Member
    Posted 2 years ago #

    Ah, thanks - well spotted! I'll correct it in the next release.

    David.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic