vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Soundcloud Coding (https://vborg.vbsupport.ru/showthread.php?t=319552)

jagtpf 07-19-2015 08:10 AM

Soundcloud Coding
 
Using the default, in all browsers the Forum users describe only getting a grey horizontal band and a url link beneath it.

Quote:

<object height="81" width="100%"><param name="movie" value="http://player.soundcloud.com/player.swf?url={param}&amp;g=bb"></param><param name="allowscriptaccess" value="always"></param><embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url={param}&amp;g=bb" type="application/x-shockwave-flash" width="100%"></embed></object> <a href="{param}">{param}</a>
Using an alternative found in a vB 5 thread, I've used

Quote:

<iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url={param}&color=0066cc"></iframe>

(Height reduced to 80)
Works perfectly for me in Firefox and Chrome (Tablet) - but users say it is even worse than the original in IE.

Does anyone have a solution that works across all browsers?

regards Geoff

vB 4.2.3....

MarkFL 07-19-2015 08:23 AM

Try adding this to your HTML replacement:

HTML Code:

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
Note: I have not tested this, but thought it worth a try. :D

jagtpf 07-19-2015 08:46 AM

Quote:

Originally Posted by MarkFL (Post 2550702)
Try adding this to your HTML replacement:

HTML Code:

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
Note: I have not tested this, but thought it worth a try. :D

Works for me - let's see what the important people say ;)

Edit: Just noticed it's the first coding that shows a visible picture in the Replacement column of the BB Manager, instead of a grey mass ... (Which must be a good sign !!!!)

jagtpf 08-08-2015 08:25 AM

I am informed that this code doesn't work across all browsers, and all members! It's a strange one, it works to some extent on vBulletin post-preview, but not once the post is saved.

Does anyone have a properly working all browsers version ?

vB 4.2.3 candidate 1


All times are GMT. The time now is 04:48 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.00973 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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