Announcement

Collapse
No announcement yet.

Video BBcode not working

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • derUnterstrich
    replied
    THX. now it works!
    Last edited by derUnterstrich; Tue 7 Feb '17, 10:24pm.

    Leave a comment:


  • Wayne Luke
    replied
    Please run upgrade.php on your site. This will import all templates again and rebuild the video bbcodes so they are up to date.

    Leave a comment:


  • Glenn Vergara
    replied
    I don't know why bbcode_video template is missing. It should exist. Try creating it manually.

    Leave a comment:


  • derUnterstrich
    replied
    There is only the mediabbcode_video template. We don't edit it before.

    HTML Code:
    <vb:if condition="$provider == 'hulu'">
    <object class="restrain" type="application/x-shockwave-flash" width="128" height="74" data="http://www.hulu.com/embed/{vb:raw code}">
        <param name="movie" value="http://www.hulu.com/embed/{vb:raw code}" />
        <param name="wmode" value="transparent" />
    </object>
    <vb:elseif condition="$provider == 'youtube'" />
    YES YES YES
    <iframe class="restrain" title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/{vb:raw code}?wmode=opaque&autoplay=1"></iframe>
    <vb:elseif condition="$provider == 'vimeo'" />
    <object class="restrain" type="application/x-shockwave-flash" width="160" height="96" data="http://vimeo.com/moogaloop.swf?clip_id={vb:raw code}">
        <param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id={vb:raw code}" />
        <param name="wmode" value="transparent" />
    </object>
    <vb:elseif condition="$provider == 'dailymotion'" />
    <object class="restrain" type="application/x-shockwave-flash" width="140" height="112" data="http://www.dailymotion.com/swf/{vb:raw code}">
        <param name="movie" value="http://www.dailymotion.com/swf/{vb:raw code}" />
        <param name="wmode" value="transparent" />
    </object>
    <vb:elseif condition="$provider == 'metacafe'" />
    <object class="restrain" type="application/x-shockwave-flash" width="100" height="86" data="http://www.metacafe.com/fplayer/{vb:raw code}.swf">
        <param name="movie" value="http://www.metacafe.com/fplayer/{vb:raw code}.swf" />
        <param name="wmode" value="transparent" />
    </object>
    <vb:elseif condition="$provider == 'google'" />
    <object class="restrain" type="application/x-shockwave-flash" width="100" height="82" data="http://video.google.com/googleplayer.swf?docid={vb:raw code}">
        <param name="movie" value="http://video.google.com/googleplayer.swf?docid={vb:raw code}" />
        <param name="wmode" value="transparent" />
    </object>
    <vb:elseif condition="$provider == 'facebook'" />
        <iframe src="https://www.facebook.com/video/embed?video_id={vb:raw code}" width="<vb:if condition="isset($width) AND $width > 0">{vb:raw width}<vb:else />144</vb:if>" height="<vb:if condition="$height">{vb:raw height}<vb:else />108</vb:if>" frameborder="0"></iframe>
    </vb:if>

    Leave a comment:


  • Glenn Vergara
    replied
    Check the bbcode_video template in Style Manager if it exists and if it's not empty. Did you edit it before?

    Leave a comment:


  • derUnterstrich
    started a topic [Resolved] Video BBcode not working

    Video BBcode not working

    After insert an embed Code/ URL from Youtube I only get an image. After klicking on the play button, the ajax request (community/ajax/render/bbcode_video) get only an empty json respons:
    template:""
    css_links:Array

    The parameters given are:
    code:"yjzUxDhuXig"
    provider:"youtube"
    securitytoken:"greatesecuritytoken-trustme"

    I checked the template mediabbcode_video and allowed the bbcodes.

    I didn’t find any information in this forum and I have no idea what sort of problem it is.

Related Topics

Collapse

Working...
X