WordPress.org

Ready to get started?Download WordPress

Forums

Why don't Flash Player scrips work (6 posts)

  1. md16185
    Member
    Posted 1 year ago #

    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...

  2. kmessinger
    Volunteer Moderator
    Posted 1 year ago #

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

  3. md16185
    Member
    Posted 1 year ago #

    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?!

  4. kmessinger
    Volunteer Moderator
    Posted 1 year ago #

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

  5. md16185
    Member
    Posted 1 year ago #

    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.

  6. kmessinger
    Volunteer Moderator
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic