Check Whether Asf Stream Is Actually Playing?
Jan 18, 2010
I have a website built in ASP.NET 2.0 and a Windows Server 2003 server streaming live videos with Windows Media Services.
To play the content i usually embed a Windows Media Player in my page and make it open the publication URL (let's say http://my.server.com/live), and it works fine.
The problem is that when no stream is playing, an empty stopped player appears and i don't like that
So i'd like to check in my (VB) code if there's actually something being streamed BEFORE i open the player, and display a 'no active stream right now, please try later' message instead.
View 5 Replies
Similar Messages:
Feb 22, 2011
I have an excel file in my Response Output stream. I can Open the stream as a file after a prompt, but it doesn't seem I can save it directly to a specified folder on my client.
View 1 Replies
Jul 19, 2010
i will be passing the xml file like this:
[code]....
error:
Error 1 The best overloaded method match for 'System.Xml.Linq.XDocument.Load(string)' has some invalid arguments
cannot convert from 'System.IO.Stream' to 'string'
View 2 Replies
Sep 25, 2010
i want a player that can play flv and mp4 videos. i want to embed that player in my website (.net 3.5) i have googled a lot...but not found any....flowplayer is playing all flvs, but supports mp4 partially, some mp4 videos in flowplayer dont show video.
View 2 Replies
May 17, 2010
In an ASP.NET environment, what's the best way to play a mp3 file? Do I need to use a flash plugin (some users may not have flash). Also, this needs to work on a IPhone or an IPod.
View 3 Replies
Jan 31, 2010
i have Placed one object tag in one of my aspx pages which will play videos dynamically. object tag is as follow:
<object
type="application/x-shockwave-flash"
data='<%=file %>'[code]....
where "file" is a variable which i have delared at Code behind and on one button click i set it with "Video file with path". problem is that, i am not able to play video...
View 12 Replies
Jul 8, 2010
i used this JQuery plugin to play video on my app
[URL]
but i am not able to play the video,,,,,,Do i need some kind of player too??
i just copied the source from page and pasted as well as made js file too and copied the code of plugin and pasted in my app...
View 6 Replies
Jul 23, 2010
i need to embedd a video player on web form, that will be able to play almost every ormost of the known video/audio formats....(mpeg, flv, avi, 3gpp, wmv, wma)..i need only a single player.....to be embedded....and it shuld not use the pc's local players..
View 6 Replies
Feb 17, 2011
USing MVC 3 I created a View
Index.cshtml
<div>
@Video.Silverlight(
[code]...
View 3 Replies
Jan 27, 2011
In our application we are playing video, for this we are using frameworke 2.0.Video files are placed in application server.This is working fine in IE and it is not working in firefox.
View 2 Replies
Jan 26, 2010
I'm setting up a website for a friend who wants to showcase their music. At the moment i have about 12 songs all loading at the same time using the <embed> tag. This displays a WMP object on the page for each song and obviously takes forever to load due to the total size of the songs.
I'd like to be able to simply have a link (title of the song) and an image on the side of each song (play button) that can be used to start and stop each song as required.
View 2 Replies
Dec 27, 2010
i have a control that shows me Messages. it sits in an update panel and constantly polls the server for new messages. This is accessed by multiple users.. My problem is that i need to be able to play a sound when new messages are found.. i have been able to "sorta" do this using soundplayer.. every time it polls it is checking timestamps to determine if a message was added in the last x seconds.. if so.. ding.. that works great.. UNTIL you put it out on the server.. from what i gather.. that will only dingat the server.. (great for the server room... not so much for the users).. i have been googling for hours now.. it seems theres 3.4 billion answers for stuff i don't think im looking for.. but i can't seem to find anything that really does this. I need the Code behind to cause the playing of the sound.. and for all users..
View 4 Replies
Nov 18, 2010
I am trying to figure out how to persist the playing of a Silverlight MediaElement playing within a Silverlight User Control embedded in an ASP.NET during postback.
The scenario goes:
Have a media player on a site, press play, continue navigating through site while the music continues playing.
What it does right now:
Obviously the object gets loaded anew on each postback or page redirect (even if it's back to the same page IE: default.aspx).
I've seen samples of how to persist the state of a Control on postback and even complex data through cross-page postback. But nothing that covers my specific case.
Other particulars:
Silverlight 2
ASP.NET
C#
My default.aspx:
[code]....
View 1 Replies
Feb 26, 2011
I have tried the SoundPlayer class in ASP.NET used to give alert when it reachs threshold (value has been set).
When i directly complied from VS2008 its working mean it gives alert sound. But while i open browser the type "localhost/website/default.aspx" in the address bar its not playing (any sound).
My code is here
SoundPlayer objSoundplayer = new SoundPlayer(path);
objSoundplayer.LoadAsync();
objSoundplayer.Play();
objSoundplayer.PlayLooping();
Working with portnumber : localhost:55678/website/default.aspx
Not Working: localhost/website/default.aspx
What worng in this code or need to inculde some more properites.
View 5 Replies
Jul 27, 2013
How to " Upload Save Retrieve and Play MP4 Video files with live streaming from Database in ASP.Net"..your code is working fine ... but i have one problem . I can only here sounds of video files but VIDEOS are not working.
View 1 Replies
Nov 9, 2010
I been trying to get a simple stored procedure called and get its returned value back to a parm. In this case I am trying the simplest one I can make to get it to work and the I can build form there. I have tried to do this about 100 times and I try try and say heck with it and do it with out using a stored procedure and move on but I would really like to figure this out. I created a stored procedure called ReqLineItemTotal. It looks like this
USE [OnBillPROD]
GO
/****** Object: StoredProcedure [dbo].[ReqLineItemTotal]
Script Date: 11/09/2010 14:08:39 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- Author: Bill Blair
-- Create date: 11-9-2010
-- Description: ReqLineItemTotal
-- ALTER PROCEDURE [dbo].[ReqLineItemTotal]
-- Add the parameters for the stored procedure here
@SessionIDNo nvarchar(50) = 0
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
-- Insert statements for procedure here select
(select SUM(dbo.TempReqDetail.Amount)
from dbo.TempReqDetail,dbo.tblReqAmountTypes
where dbo.tblReqAmountTypes.AmountType = dbo.TempReqDetail.AmountType and
dbo.tblReqAmountTypes.NumericOpperator = '+' and
dbo.TempReqDetail.SessionID = @SessionIDNo) -
(select SUM(dbo.TempReqDetail.Amount)
from dbo.TempReqDetail,dbo.tblReqAmountTypes
where dbo.tblReqAmountTypes.AmountType = dbo.TempReqDetail.AmountType and
dbo.tblReqAmountTypes.NumericOpperator = '-' and
dbo.TempReqDetail.SessionID = @SessionIDNo) AS LineItemTotal
END
From what I understand I should be getting my total back as LineItemTotal. So I want to call it pass it my parm of @SessionIDNo and have its returned value set to my @LineItemTotal parm. Trying to use these stored proc's always seems like way more work than they are worth but perhaps if I ever get the hang of it would make since to me.
View 6 Replies
Oct 8, 2010
environment: VWD 2010 Express, SQL 2008 Express, .NET 4.0, VB
I have a page with 4 radio buttons followed by 3 cascading ddl followed by a tab container with 5 tabs. Each tab holds a listview, etc that is particular to the group that has access to that tab. On page load I filter the listview based on who is logged in plus which radio button and DDL is selected - all ok so far.
after the page load, the initial datapager works fine and all other listview functions are fine. However, if I select the 4th radio button, the data returned is correct and the datapager shows as if it knows the correct number of items but if I click the datapager page 2 (or Last, etc) it immediately reloads the correct data as if it were a new page load (and changes the datapager appropriately). My suspicions are that this is due to the declarative select command defaulting to the data that it always goes back to.
I have tried to move the select to the code behind and played with the tabcontainer prerender event. That eventually got me to the point where the datapager was working properly but then I could no longer edit any of the dropdowns in my listview edit screen where I could before. They would go through the motions but as soon as you selected a new dropdown value, it would revert back to whatever it was before.
So at this point I'm looking for ideas on how to make these work together.
the code is excessive so I will avoid that for the moment until I can whittle it down to what is pertinent
View 6 Replies
Apr 11, 2013
i want to play a sound file using following code in my aspx page
<asp:Button ID="btnPlay" runat="server" Text="Play" />
<script type="text/javascript">
function EvalSound(soundobj) {
var thissound = document.getElementById(soundobj);
thissound.Play();
}
</script>
<embed src="doorbell-1.wav" autostart="false" width="1" height="1" id="sound1" enablejavascript="true" >
</embed>
and then calls following code on my aspx.vb code page on page_load
btnPlay.Attributes.Add("onclick", "return EvalSound('sound1');")
but dinot hear any sound
where if i use html button instead it works fine like this
<input type="button" id="btnPlay" onclick="EvalSound('sound1');"/>
View 2 Replies
Apr 4, 2013
your code is working fine ..but i cant see the video on the page . when place cursor at video portion i get the download option of that video ..
View 1 Replies
Jul 17, 2015
I used the below link to upload video file and play it using player.In this code video file is uploaded and displaying in datalist but while play it using player i cannot see video and only audio is coming.
[URL] ....
View 1 Replies
Mar 17, 2010
I use media player control to play mp3 files in asp.net application. I want to find When the playing process gets end and the total time require to finish the file using javascript.
[Code].....
View 1 Replies
Jun 9, 2010
Before I even start, I never used silverlight..not even touched the tutorials, articles, anything.
I got a project coming up I need to make some decisions about (Presentation layer defo Asp.Net MVC).
Basically a user will updload a video, which will be "processed" (cannot reveal that part) and then the user can preview the result before opting to download it in a video format.
For the "preview" part, I need to decide what "video" player to use, and before looking around I was wondering if Silverlight would be a good solution for this?
View 2 Replies
Mar 21, 2011
BACK-END CODE TO ENABLE USER TO ENTER YOUTUBE VIDEO LINK (url):
[Code]....
FRONT-END PANEL TO DISPLAY VIDEO:
[Code]....
View 2 Replies
Nov 25, 2013
Is it possible to remove YouTube logo when i am using you tube iframe to play a youtube video?
View 1 Replies
Oct 15, 2010
I am a Bigner in asp.net c# learning. How can i create a new folder in server from my c# program. in my semester asp.net project, i want to upload video/audio files into my own newly created folder and the storing folder's name must be given by me, which means each time folder name may change during uploading time. and how can i give a picture link to that vodeo files containing in different folders and how can i play that files in the browser using a player.
View 1 Replies