WordPress.org

Support

Support » How-To and Troubleshooting » Why don't Flash Player scrips work

Why don't Flash Player scrips work

  • Why don’t normal JavaScript Flash Players work with wordpress? I tried even a plugin for WordPress and the player never even showed…

    What is done in PHP to disable the functionality of normal Flash
    Player scripts?

    Just wondered…

Viewing 5 replies - 1 through 5 (of 5 total)
  • kmessinger
    Forum Moderator

    @kmessinger

    Flash works fine in wp. What theme are you using? Can you post a page where you have a script that is not working?

    here’s the code I am using::

    <object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="640" height="480" align=left>
    		<param name="movie" value="player.swf" />
    		<param name="allowfullscreen" value="true" />
    		<param name="allowscriptaccess" value="always" />
    
    		<param name="flashvars" value="file=filename.flv&img.jpg&controlbar=over&stretching=uniform" />
    		<embed
    			type="application/x-shockwave-flash"
    			id="player2"
    			name="player2"
    			src="player.swf"
    			width="640"
    			height="480"
    			allowscriptaccess="always"
    			allowfullscreen="true"
    			flashvars="file=filename.flv&image=image.jpg&controlbar=over&stretching=uniform"
    		/>
    	</object>

    Why does it show up blank, what am I doing wrong?!

    kmessinger
    Forum Moderator

    @kmessinger

    The movie is not loading. Use this to build your code.
    http://www.osmf.org/configurator/fmp/

    wat is the difference between the code I posted and
    the osmf config? Does php handle videos different from
    HTML?

    I try to put one of the videos I made in there and it don’t
    show up? what am I doing wrong? It says it can’t find the
    media.

    kmessinger
    Forum Moderator

    @kmessinger

    Did you try it? One difference is the use of embed. Do you have a full path to the media?

    wat is the difference between the code I posted and
    the osmf config? Does php handle videos different from
    HTML?

    Who cares if it works and it will.
    Build your file with osmf and compare it.
    Php generates html which then runs the video. It doesn’t handle the video except to ignore it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Why don't Flash Player scrips work’ is closed to new replies.