0

here is html and php code i like to pass video from my database to this via jquery on click action
i try to do something like this but it fail
jquery code

jQuery("#player").val(data["video"]);

<p>
 <label style="width:87px">Video:</label>
                     <div id ="show_image2" style= "">

  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="player" name="player" width="500" height="300">
  <param name="movie"              value="player.swf" />
  <param name="allowscriptaccess"  value="always" />
  <param name="allowfullscreen"    value="true" />
  <param name="flashvars" value="file=<?=API?>images/ &image=softppint.jpg"/>
  <embed
                        type="application/x-shockwave-flash"
                        id="player2"
                        name="player2"
                        src="player.swf"
                        width="500"
                        height="300"
                        allowscriptaccess="always"
                        allowfullscreen="true"
                        flashvars="file=<?=API?>images/ video &image=softppint.jpg"
                        />
</object>                            <span id='video_filename'><?=$video?></span>  <br>

                            <a class="delete_img" id="delete_btn2" onclick="deleteImage('<?=$video?>',2,'v');">Delete Video   </a>
                            <br/><br/>
                            </div>
                            <input type="hidden" name="video" id="video"  value = "<?=$video?>">
                            <div id="video-loc">
                            </div>         

Edited by durgesh1: change

1
Contributor
1
Reply
10
Views
3 Years
Discussion Span
Last Post by durgesh1
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.