Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2018, 03:37 PM
the one the one is offline
 
Join Date: Nov 2013
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 02-24-2018, 03:51 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Благодарность от:
the one
  #3  
Old 02-25-2018, 04:40 AM
the one the one is offline
 
Join Date: Nov 2013
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
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.
Reply With Quote
  #4  
Old 02-25-2018, 12:34 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 04-11-2018, 02:29 PM
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Posts: 1,314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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



--------------- 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>
Reply With Quote
Благодарность от:
snakes1100
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:09 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03682 seconds
  • Memory Usage 2,213KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (2)post_thanks_box_bit
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete