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
4 posters

    I Cannot embed video in my forum

    legsandgirl
    legsandgirl
    New Member


    Posts : 2
    Reputation : 1
    Language : english

    Solved I Cannot embed video in my forum

    Post by legsandgirl Mon 4 Jul - 12:07

    I cannot embed video although I have already allow "html"
    Clearly, When I enter embed code and press "Preview" so everything fine, but then I press "Send" It shows the embed code, and the box of "Disable HTML in this post" automatically Tick. what should i do? Thanks.
    brandon_g
    brandon_g
    Manager
    Manager


    Male Posts : 10113
    Reputation : 923
    Language : English
    Location : USA

    Solved Re: I Cannot embed video in my forum

    Post by brandon_g Mon 4 Jul - 16:51

    Hello,

    Where did you enable html? In the admin panel or your profile?

    There are two places you must go to enable html.

    One is in the admin panel and enables html for the whole forum. To enable html for the whole forum, go to:

    Acp-->General-->Messages and Emails-->Configuration-->Allow html: tick yes and save.

    The second place is in your profile, this needs to be set by the inidivual user in their profile.

    To enable html in your profile, go to: Profile (edit profile, not view profile)-->Prefrences-->Allow html?: Tick yes and save.

    If you have html enabled in both of those places, the html should work for you on your forum. Wink

    -Brandon



    I Cannot embed video in my forum Brando10
    Remember to mark your topic I Cannot embed video in my forum Solved15 when a solution is found.
    General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

    I Cannot embed video in my forum Scre1476
    Team Leader
    Review Section Rules | Request A Review | Sticker Points
    legsandgirl
    legsandgirl
    New Member


    Posts : 2
    Reputation : 1
    Language : english

    Solved Re: I Cannot embed video in my forum

    Post by legsandgirl Mon 4 Jul - 17:46

    brandon_g wrote:Hello,

    Where did you enable html? In the admin panel or your profile?

    There are two places you must go to enable html.

    One is in the admin panel and enables html for the whole forum. To enable html for the whole forum, go to:

    Acp-->General-->Messages and Emails-->Configuration-->Allow html: tick yes and save.

    The second place is in your profile, this needs to be set by the inidivual user in their profile.

    To enable html in your profile, go to: Profile (edit profile, not view profile)-->Prefrences-->Allow html?: Tick yes and save.

    If you have html enabled in both of those places, the html should work for you on your forum. Wink

    -Brandon

    2 places, but I just set 1 place
    Thanks a lot, I got it. Now everything fine.
    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    Solved Re: I Cannot embed video in my forum

    Post by Michael_vx Mon 4 Jul - 19:23

    is your problem solved or still not ?
    try this Script for youtube links it will convert youtube links to embed video by it self with out the embed code from youtube just put the link in topic
    to JavaScript add this Script blow in topics only name it what ever you like
    Code:
    jQuery(function(){



       var width = "560";

       var height = "315";

       jQuery('.postbody a[href*="youtube.com/watch"]').each(function(){

          var watchid = jQuery(this).attr('href').split("v=")[1].split("&")[0];                                

          jQuery(this).html("<br><iframe width="+width+"
    height="+height+" src=https://www.youtube.com/embed/"+watchid+"
    frameborder=0 allowfullscreen></iframe><br>");  

       });

    });
    thanks
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: I Cannot embed video in my forum

    Post by SLGray Mon 4 Jul - 20:13

    Problem solved & topic archived.
    Please read our forum rules:  ESF General Rules



    I Cannot embed video in my forum Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is Sun 22 Sep - 16:21