Last post Jan 23, 2008 01:07 AM by roni_schuetz
Jan 23, 2008 12:35 AM|FrankBlue9000|LINK
<asp:MediaPlayer id="MediaPlayer1" runat="Server".........etc>
When I click my button, it does not play. Then I click media player play button, it plays. It looks that the MediaPlayer does not get bind for the media source in function onPlay()
FYI, I am purposely set the "Media Source source" dynamically in function onPlay.
Greatly Appreciated for any feedbacks.
Jan 23, 2008 01:07 AM|roni_schuetz|LINK
checkup your html again and verify your id is like: id="MediaPlayer1" and not something like abc_def_ge_MediaPlayer1.
second thing, check if you able to get:
var media_player = document.getElement("MediaPlayer1")
media_player != null