Dynamic rich media component for ASP.Net Flash, Video and Audio controls for C# and VB.Net
Welcome Guest Search | Active Topics | Members | Log In | Register

Stop button not working for just one click Options · View
ionafi
Posted: Tuesday, February 03, 2009 2:15:27 PM
Rank: Member
Groups: Member

Joined: 11/13/2008
Posts: 26
Points: 78
Location: New York
Just noticed this problem. I hit the stop button, it stops and then restarts by itself after a couple of seconds. I use autoplay=false and make it true on trackchange event.
Any idea why?
Thanks.
Jake
Posted: Wednesday, February 04, 2009 1:23:12 AM
Rank: Administration
Groups: Administration

Joined: 7/26/2007
Posts: 676
Points: 1,728
Location: USA
Would love to unravel this mystery.
Can you please post a "Hello World" sample project or URL?

http://www.aspnetmedia.com
ionafi
Posted: Thursday, February 05, 2009 9:14:15 AM
Rank: Member
Groups: Member

Joined: 11/13/2008
Posts: 26
Points: 78
Location: New York
Here we go:

<form id="form1" runat="server">
<div id="contentPlayer">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" EnableViewState="true" UpdateMode="Conditional">
<ContentTemplate>

<ASPNetAudio:Audio ID="MediaPlayer1" runat="server" Volume="100" AutoPlay="false">
</ASPNetAudio:Audio>
<div id = "imagepl">
<asp:Image ID="coverart" runat="server" AlternateText="Cover Art" Height="50" Width="50" ImageAlign="left" ImageURL=""></asp:Image>
</div>
<asp:TextBox ID="txtbactivetrack" runat="server" Width="260" Height="11" ReadOnly="false" EnableViewState="false"></asp:TextBox>

<div id = "buttonspl">
<ASPNetMediaGUI:PreviousTrackButton ID="PreviousTrackButton1" runat="server" AssociatedControl="PlayList1" ButtonType="RolloverImage" ImageUrl="~/skins/rewind24x24.png" RolloverImageUrl="~/skins/rewind24x24.png"></ASPNetMediaGUI:PreviousTrackButton>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<ASPNetMediaGUI:StopPlayListButton ID="StopPlayListButton1" runat="server" AssociatedControl="PlayList1" ButtonType="RolloverImage" ImageUrl="~/skins/stop24x24.png" RolloverImageUrl="~/skins/stop24x24.png"></ASPNetMediaGUI:StopPlayListButton>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<ASPNetMediaGUI:PlayTrackButton ID="PlayTrackButton1" runat="server" AssociatedControl="PlayList1" ButtonType="RolloverImage" ImageUrl="~/skins/play24x24.png" RolloverImageUrl="~/skins/play24x24.png"></ASPNetMediaGUI:PlayTrackButton>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<ASPNetMediaGUI:NextTrackButton ID="NextTrackButton1" runat="server" AssociatedControl="PlayList1" ButtonType="RolloverImage" ImageUrl="~/skins/fastforward24x24.png" RolloverImageUrl="~/skins/fastforward24x24.png"></ASPNetMediaGUI:NextTrackButton>
</div>

<div id="gvplaylist">
<ASPNetMediaGUI:PlayList ID="PlayList1" runat="server" AutoGenerateColumns="False" CellSpacing="1"
CellPadding="1" DataSourceID="DefaultPlayList" GridLines="None" LoopPlayList="True"
MediaPlayer="MediaPlayer1" ShowHeader="False" ForeColor="#333333"
UseAccessibleHeader="false" EnableViewState="true" OnTrackChangeEvent="PlayList1_TrackChangeEvent">
<FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White"/>

<Columns>
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Left">
<itemtemplate>
<asp:LinkButton Align="left" ID="TrackSelectButton" runat="server" CausesValidation="False" CommandName="Select" Text='<%# Eval("TrackNumber")+". "+ Eval("Name") %>' CommandArgument='<%# Eval("URL") %>'></asp:LinkButton>
</itemtemplate>
</asp:TemplateField>
</Columns>
<SelectedRowStyle BackColor="#CCCCCC" Font-Bold="True" ForeColor="#333333" />
<RowStyle BackColor="#E2DED6" ForeColor="Black"/>
<EditRowStyle BackColor="#999999" />
</ASPNetMediaGUI:PlayList>
</div>
</ContentTemplate>
</asp:UpdatePanel>
</div>
Thanks alot Jake.
ionafi
Posted: Thursday, February 12, 2009 11:39:15 AM
Rank: Member
Groups: Member

Joined: 11/13/2008
Posts: 26
Points: 78
Location: New York
Still have this problem, it's pretty random though. Any hint what can cause this?
Jake
Posted: Sunday, February 15, 2009 3:58:48 AM
Rank: Administration
Groups: Administration

Joined: 7/26/2007
Posts: 676
Points: 1,728
Location: USA
Is there a specific browser that is associated with it perhaps?

http://www.aspnetmedia.com
ionafi
Posted: Wednesday, February 18, 2009 9:45:06 AM
Rank: Member
Groups: Member

Joined: 11/13/2008
Posts: 26
Points: 78
Location: New York
It happens randomly, both IE and FF, those are the only ones i'm using.
Jake
Posted: Wednesday, February 25, 2009 7:52:33 AM
Rank: Administration
Groups: Administration

Joined: 7/26/2007
Posts: 676
Points: 1,728
Location: USA
Hi Ionafi

Having difficulty reproducing this one. And i am trying hard to help.

Does it happen for u on this page?
http://sdk.aspnetmedia.com/ASPNetAudio/MusicPlayListing/

http://www.aspnetmedia.com
ionafi
Posted: Thursday, March 05, 2009 3:32:35 PM
Rank: Member
Groups: Member

Joined: 11/13/2008
Posts: 26
Points: 78
Location: New York
Hi Jake,

Thanks alot for helping me with this. Your example works fine.
I put my audio player on the test server and works fine so far. I'll keep testing it, maybe was just a "localhost" issue.
I'll keep you posted.

Jake
Posted: Saturday, March 07, 2009 7:45:43 AM
Rank: Administration
Groups: Administration

Joined: 7/26/2007
Posts: 676
Points: 1,728
Location: USA
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.