dragontheory
Member
Posted 3 years ago #
Thanks for this great plugin.
At http://dragontheory.com/wall2.0c/ I put the following code (from one of your earlier posts http://wordpress.org/support/topic/187118?replies=6) in my page template (page.php) but it exports just this as plain text. "[flash http://dragontheory.com/wall2.0c/wp-content/plugins/pb-embedflash/swf/wallofhonor080908_tour_screen.swf w=873 h=332 mode=1 p={wmode;transparent|menu;false|quality;high}]"
Please help! Thanks in advance!
CODE in page template:
<?php if(function_exists('pb_embedFlash_plugin'))
{echo pb_embedFlash_plugin('[flash http://dragontheory.com/wall2.0c/wp-content/plugins/pb-embedflash/swf/wallofhonor080908_tour_screen.swf
w=873 h=332 mode=1 p={wmode;transparent}]');} ?>
http://dragontheory.com/wall2.0c/wp-content/plugins/pb-embedflash/swf/wallofhonor080908_tour_screen.swf
This comes up with your flash - pretty cool.
I think you want <?php if(function_exists('pb_embedFlash_plugin'))
{echo pb_embedFlash_plugin('[flash http://dragontheory.com/wall2.0c/swf/wallofhonor080908_tour_screen.swf
Not sure but I don't think you want to go through the plugins folder for several reasons.
dragontheory
Member
Posted 3 years ago #
Thanks for your timely reply. Still don't understand why the <?PHP> tags are getting stripped out of the HTML.Out of an abundance of caution the page.php is edited locally and then uploaded rather than using the code inserting/changing HTML WYSIWYG editor. I am using Exec-PHP but can't tell if it is working or not.Any help on getting this to work would be great. Thanks.
Honestly, I don't know why this behaviour appears. I tried everything on my local test blog and it always works fine... sorry!
andrewk
Member
Posted 3 years ago #
I'm having a similar problem,
Just set up a new server and 5-6 blogs in basic config, all installs ok but no video shows in post only the code?
e.g [flash http://www.youtube.com/watch?v=CSmlWBgOyjw
I have tried many different settings to no avail.
any help would be great
Thanks
Andrew
@anrewk: Where do you post the tag? In a template file or a normal blog post/page? What version of WordPress did you install?
andrewk
Member
Posted 3 years ago #
Hi,
Normal post/page and WP is 2.6.3
thanks
Ok.. I think another plugin is disturbing the tag detection. Could you please post a list of the plugins you are using in your blog?
I think I've found the issue. Other plugins can do changes on the tag (e.g. make hyperlinks out of the http://... text). To circumvent this, the flash filter needs an higher priority. Appropriate code is implemented in the final plugin version 1.5.
dragontheory
Member
Posted 3 years ago #
Thanks so much! Works like a charm.