vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Video links broken (https://vborg.vbsupport.ru/showthread.php?t=326150)

the one 02-24-2018 03:37 PM

Video links broken
 
Somehow our Vimeo support is broken now. The BBcode is correct, but the videos won't show anymore when we post them. Likewise for DailyMotion.

Could it have something to do when we transferred the forum to https?

And if so how do we fix this.

Many thanks.

Malc.

Dave 02-24-2018 03:51 PM

Make sure you embed the HTTPS version of the URL and in case you use custom BBCode, it should embed as HTTPS and not HTTP.
You can also try adding <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> to the headinclude template.

the one 02-25-2018 04:40 AM

Quote:

Originally Posted by Dave (Post 2593110)
Make sure you embed the HTTPS version of the URL and in case you use custom BBCode, it should embed as HTTPS and not HTTP.
You can also try adding <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> to the headinclude template.

Thanks Dave

These are the two codes i have in my template bbcode.Do any of these need an update .

HTML Code:

<vb:elseif condition="$provider == 'vimeo'" />
<object class="restrain" type="application/x-shockwave-flash" width="640" height="360" data="//vimeo.com/moogaloop.swf?clip_id={vb:raw code}">
        <param name="movie" value="//vimeo.com/moogaloop.swf?clip_id={vb:raw code}" />
        <param name="wmode" value="{vb:raw wmode}" />
        <!--[if IE 6]>
        <embed width="640" height="360" type="application/x-shockwave-flash" src="//vimeo.com/moogaloop.swf?clip_id={vb:raw code}" />
        <![endif]-->
</object>

HTML Code:

<vb:elseif condition="$provider == 'dailymotion'" />
<object class="restrain" type="application/x-shockwave-flash" width="560" height="349" data="https://www.dailymotion.com/swf/{vb:raw code}">
        <param name="movie" value="https://www.dailymotion.com/swf/{vb:raw code}" />
        <param name="wmode" value="{vb:raw wmode}" />
        <!--[if IE 6]>
        <embed width="560" height="349" type="application/x-shockwave-flash" src="https://www.dailymotion.com/swf/{vb:raw code}" />
        <![endif]-->
</object>

We are using 4.2.1

I am also thinking it may be a flash issue

--------------- Added [DATE]1519551600[/DATE] at [TIME]1519551600[/TIME] ---------------

Update

Ok i have fixed this and its just a flash issue.

In google chrome I had to go to settings and then content settings.I then clicked on the flash icon and it gives you an option to add a website.As soon as i added my website it all worked.

I am not sure why you have to do that but there must be something in the firefox browsers also where you have this option.

Dave 02-25-2018 12:34 PM

Yes flash is being deprecated everywhere these days, which is a good thing.
If possible, see if you can find a HTML5/JS version of the embed code.

final kaoss 04-11-2018 02:29 PM

I've found that in order to get vimeo videos to work you must tell chrome to "always allow flash from this site".

https://www.vgchat.us/forum/vgchat-t...tml#post230800

https://www.vgchat.us/forum/attachme...2018-04-11-png

--------------- Added [DATE]1523467316[/DATE] at [TIME]1523467316[/TIME] ---------------

Also here's an interesting answer from Vimeo staff:
https://stackoverflow.com/questions/...layer-in-html5

You will need to use our standard embed code unless you're a PRO member. Our embeds default to HTML5 and use it wherever possible.

HTML Code:

<iframe src="https://player.vimeo.com/video/3873878" width="320" height="240" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>


All times are GMT. The time now is 07:23 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01181 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete