Forums

custom flash video player not functioning (8 posts)

  1. equinesites
    Member
    Posted 3 years ago #

    I have built a custom Flash video player that uses XML to call individual FLV movies. The file works fine in preview Flash Player, but when I upload it to the site, the XML is not functioning.

    I can see the SWF file (background image) so I know it's there, but FLV movies will not play. Have double and triple checked paths.

    Here is the code I used on the main index page. Is there anything else I need to use?

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="600" height="330">
          <param name="movie" value="/blog/wordpress/wp-content/themes/gamepress/flash/preview.swf" />
          <param name="quality" value="high" />
          <embed src="/blog/wordpress/wp-content/themes/gamepress/flash/preview.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="330"></embed>
        </object>
  2. equinesites
    Member
    Posted 3 years ago #

    Has anyone used flash in this way? I'm not trying to embed flash in a post, which I can find in the forum answers, but rather in the page itself. Anyone??

  3. dmccarey
    Member
    Posted 3 years ago #

    Just a thought. If you're not using a swfobject.js script in your header.php, you might want to add one. Find out more here.

  4. equinesites
    Member
    Posted 3 years ago #

    Thanks, dmccarey. I tried that but still nothing. I think it has something to do with the XML calling external files. I can see the swf file, it just won't call up and play any of the flv files.

    I am going to test it with a strictly swf file and see what that does...

    Thanks!

  5. equinesites
    Member
    Posted 3 years ago #

    yep - if I embed a video in a swf file timeline, it plays. Unfortunately, that's not going to work because I have many videos and some of them are big. I don't understand why the XML won't function.

  6. Wendel Brume
    Member
    Posted 3 years ago #

    I'm no expert on this stuff, but I think you're missing a FlashVars or some other variable that points to the XML file. If you go here:

    http://components.earthscienceagency.com/

    They have an explanation of how their player is connected to the XML file. It might give you some ideas.

  7. stephenzz
    Member
    Posted 3 years ago #

    I had the similar problem before. I have checked the file name and path but still not work. Finally I found a software, a quick solution to this problem, called Moyea Web Playr Pro, which is a flash video player maker, check this tutorial "How to add flash videos to blog?"

  8. wompninja
    Member
    Posted 3 years ago #

    I'm having the same problem. The reason why it won't play is wordpress thinks the xml file is part of its coding so if you pull up the xml file in a browser you'll get a search error in your wordpress install instead of showing the xml file like it does here. I still haven't been able to resolve this. Does anyone know how to make wordpress ignore a folder so that the xml file can be accessed like it should?

Topic Closed

This topic has been closed to new replies.

About this Topic