The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    Youtube BBCode... Anyway to enact a YoutubeHD one?

    NeilF
    NeilF
    Forumember


    Posts : 27
    Reputation : 1
    Language : English

    Solved Youtube BBCode... Anyway to enact a YoutubeHD one?

    Post by NeilF August 6th 2024, 12:11 pm

    On a VBulletin forum I have, there are two BBCodes for Youtube videos, "[youtube]" and "[youtubehd]".

    "Youtube" gives a small/regular video appearance size in the forum, while "Youtubehd" gives a much larger appearance.

    I'm wondering if there's a way that can be done here? In a user friendly simple fashion without the poster needing to type in loads of HTML etc?


    CSS
    I can force all youtube appearences to be larger with the CSS:-
    Code:
    .postbody iframe[src*="www.youtube.com"] {
       width: 977px;
       height: 550px;
    }
    ...but it would be nice to offer posters the choice of small or large video appearance.


    One work around?
    If I use the CSS hack above with a further one for EMBED:-
    Code:
    .postbody iframe[src*="www.youtube.com"] {
       width: 977px;
       height: 550px;
    }
    .link_embed iframe[src*="www.youtube.com"] {
       width: 500px;
       height: 281px;
    }
    ...then I guess we could post a large appearance youtube with
    Code:
    [youtube]xyz12345678[/youtube]
    and a smaller appearance one with
    Code:
    [embed]https://www.youtube.com/watch?v=xyz12345678[/embed]
    ?


    Anyone have anything clever that might come to the rescue?





    Last edited by NeilF on August 12th 2024, 10:09 am; edited 1 time in total

    TonnyKamper likes this post

    Mihai
    Mihai
    Forumember


    Male Posts : 960
    Reputation : 39
    Language : Romanian, English
    Location : Bucharest, Romania

    Solved Re: Youtube BBCode... Anyway to enact a YoutubeHD one?

    Post by Mihai August 12th 2024, 12:16 am

    NeilF wrote:On a VBulletin forum I have, there are two BBCodes for Youtube videos, "[youtube]" and "[youtubehd]".

    "Youtube" gives a small/regular video appearance size in the forum, while "Youtubehd" gives a much larger appearance.

    I'm wondering if there's a way that can be done here? In a user friendly simple fashion without the poster needing to type in loads of HTML etc?


    CSS
    I can force all youtube appearences to be larger with the CSS:-
    Code:
    .postbody iframe[src*="www.youtube.com"] {
       width: 977px;
       height: 550px;
    }
    ...but it would be nice to offer posters the choice of small or large video appearance.


    One work around?
    If I use the CSS hack above with a further one for EMBED:-
    Code:
    .postbody iframe[src*="www.youtube.com"] {
       width: 977px;
       height: 550px;
    }
    .link_embed iframe[src*="www.youtube.com"] {
       width: 500px;
       height: 281px;
    }
    ...then I guess we could post a large appearance youtube with
    Code:
    [youtube]xyz12345678[/youtube]
    and a smaller appearance one with
    Code:
    [embed]https://www.youtube.com/watch?v=xyz12345678[/embed]
    ?


    Anyone have anything clever that might come to the rescue?



    Hello,

    Your request sounds more than an suggestion, because VBulletin and Forumotion are different platforms...

    In any case, your suggestion could take years or months to release, you can read this topic for more info: https://help.forumotion.com/t93899-how-to-make-a-good-suggestion
    NeilF
    NeilF
    Forumember


    Posts : 27
    Reputation : 1
    Language : English

    Solved Re: Youtube BBCode... Anyway to enact a YoutubeHD one?

    Post by NeilF August 12th 2024, 10:08 am

    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: Youtube BBCode... Anyway to enact a YoutubeHD one?

    Post by Ape August 12th 2024, 4:23 pm

    As this is now made in to a suggestion i will just close this and not use it as a solved topic.

    Topic moved to the garbage.
    Please read our forum rules: ESF General Rules



    Youtube BBCode... Anyway to enact a YoutubeHD one? Left1212Youtube BBCode... Anyway to enact a YoutubeHD one? Center11Youtube BBCode... Anyway to enact a YoutubeHD one? Right112
    Youtube BBCode... Anyway to enact a YoutubeHD one? Ape_b110
    Youtube BBCode... Anyway to enact a YoutubeHD one? Ape1010

      Current date/time is November 11th 2024, 11:45 pm