Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › swf can't see xml in Lightbox Ultimate
- This topic has 5 replies, 2 voices, and was last updated 12 years, 8 months ago by wpCommerce.
-
AuthorPosts
-
March 24, 2012 at 4:43 am #5913Forro12Member
Hello!
The site is wordpress which plays swf files on its web pages. When i istalled Lightbox everything went well. Now there is a problem Lightbox shows a swf if it is a single file. If i want to use swf +xml + sound files it won’t read the xml file and of course can’t find the sounds files although the files xml, sounds files are in the same folder with the swf. It works without lightbox but in the lightbox it doesn’t
What should I do?
March 24, 2012 at 6:33 am #43356wpCommerceModeratorHi, what shortcode are you using? Please post a link to the page where you are using that shortcode.
March 24, 2012 at 12:30 pm #43357Forro12MemberHere it is. http://colegiomio.com/?p=416
[wp_lightbox_special_flv_video link=”http://colegiomio.com/wp-content/uploads/2012/02/main.swf” width=”640″ height=”480″ source=”http://colegiomio.com/wp-content/uploads/2012/02/Diffic.jpg” title=”Video title goes here”]
It works perfectly with a single swf.
March 24, 2012 at 11:38 pm #43358wpCommerceModeratorHi, we don’t recommend anyone to use Lightbox shortcode anymore. Please use the prettyPhoto shortcode to display SWF file instead. For example:
[wp_lightbox_prettyPhoto_flash_video link="http://colegiomio.com/wp-content/uploads/2012/02/main.swf" width="640" height="480" description="Video description goes here" source="http://colegiomio.com/wp-content/uploads/2012/02/Diffic.jpg" title="Video title goes here"]
I don’t think it’s going to work in any lightbox because the shortcode doesn’t understand any dependency the SWF file may have. It just needs a single compiled SWF file to play it in lightbox.
However, the issue is not the shortcode. When the video is in the lightbox window it may not be able to find the directory like it does in a standalone HTML file.
Have you tried directly embedding it on a WordPress post/page (without anchor text/image)?
March 25, 2012 at 1:46 am #43359Forro12MemberHi,
“Please use the prettyPhoto shortcode to display SWF file instead” this shortcode opens a SWF file in fullscreen mode and on the whole page which is not convienent.
“we don’t recommend anyone to use Lightbox shortcode anymore.” Why? it works with my single compiled SWF files.
“Have you tried directly embedding it on a WordPress post/page (without anchor text/image)?”
1) then i won’t have the black background. Just embedded file into a page occupying space which in its turn doesn’t make it compact.
2) the plugin makes a link in any way so, no,
“the shortcode doesn’t understand any dependency the SWF file may have” so i will have to deny from the xml variant and give the URL to the sounds. Still i can’t get how the lightbox changes the background of the SWF file. It is not in the xml to change the colour it is inside the SWF file itself.
March 25, 2012 at 9:48 am #43360wpCommerceModeratorHi, It’s not supposed to open in fullscreen mode because you specified a width and height for it.
Many users were having difficulties with Lightbox Special shortcodes. So we won’t be supporting it anymore.
We have a shortcode to display inline HTML. So if your embedded SWF file works on a simple post/page you can try showing the whole div in lightbox. Please take a look at the shortcode reference guide for more information (Inline HTML Display in Overlay section):
-
AuthorPosts
- You must be logged in to reply to this topic.