Home > Forum

Support Forum

Multiple Shortcodes - doesn´t work

Multiple Shortcodes - doesn´t work

Postby maltee » Tue Jul 10, 2012 7:11 pm

Hey :)
Just downloaded the plugin. Thanks! Really helpful and cool!!
But there is one problem... I can´t add a second or third/(...) shortcode onto my page.
Only the last shortcode will be displayed...
How can i fix this??
This is my shortcode:

<script type="text/javascript" src="http://www.server.de/swfobject.js"></script>
<div id="username-hdswitcher" ><a href="http://www.company.de/">Company Streaming Video</a>. Please active JavaScript</div>
<script type="text/javascript">

//+++ Typische eigene Einstellungen +++
videobreite = "624";
videohoehe = "351";
//Der Stream fuer Flash und iOS ist in der Regel der selbe
videodateiname_flash = "name of file";
videodateiname_ios = "name of file";

rtmpadresse = "rtmp://serveradress/username/";
httpstreamingadresse = "http://servername/username/_definst_/mp4:";

//+++ iOS Code (iPhone, iPad, iPod touch) +++
c = '<video autoplay controls width="'+videobreite+'" height="'+videohoehe+'" src="'+httpstreamingadresse+videodateiname_ios+'/playlist.m3u8" >';
c += 'Internetvideo: <a href="http://www.blitzeinschlag.de/">Blitzeinschlag Streaming Video</a>. Sie benötigen den Flashplayer oder einen HTML5 H.264-Video fähigen Browser um an dieser Stelle ein Video sehen zu können. <a href="http://get.adobe.com/de/flashplayer/">Flashplayer Information</a>.';
c += '</video>';
document.getElementById('dizzy-vod-hdswitcher').innerHTML=c;

//+++ Flash Code +++
var so = new SWFObject("http://www.server.de/playeradress.swf", "player", videobreite, videohoehe, "9", "#ffffff");
so.addVariable("videofile1", rtmpadresse+videodateiname_flash);
so.addVariable("quickstart", "0"); //"1" statt "0" startet das Video automatisch
so.addVariable("hdswitcher", "1");
so.addVariable("hdstartqualitaet", "_480p");
so.addVariable("keinlogo", "1");
so.addVariable("startbildvonsekunde", "10");
so.addVariable("bgc", "ffffff");
so.addParam("allowFullScreen", "true");
so.write("username-hdswitcher");
</script>


( I have to change the companys and servers name cause i dont want to publish any company code----is this possible to check the code?)

Thanks a lot!!
Mike
maltee
 
Posts: 1
Joined: Tue Jul 10, 2012 7:01 pm

Re: Multiple Shortcodes - doesn´t work

Postby monyon99 » Tue Jul 17, 2012 10:17 am

I have a WP installation where the plugin shortcodes aren't working except for Severity Forms. The built in WP shortcodes work fine, it's just the plugin shortcodes that I'm having a problem with.
monyon99
 
Posts: 1
Joined: Tue Jul 17, 2012 10:11 am

Re: Multiple Shortcodes - doesn´t work

Postby vaakash » Wed Jul 18, 2012 5:13 pm

Can you please be specific in your problem ?
User avatar
vaakash
Site Admin
 
Posts: 672
Joined: Sun Jan 17, 2010 11:15 am
Location: India


 


  • Related topics
    Replies
    Views
    Last post


Return to Shortcoder


phpBB SEO