How to play video(with local path) in asp.netYUyadagiri uppari13yAsked Oct 11, 2013, 11:05 PM EDT8 answersShareLinkedInXCopy linkSavehi....how to play video(with local path) in asp.net ..
How to play video(with local path) in asp.netYUyadagiri uppari13yAsked Oct 11, 2013, 11:05 PM EDT8 answersShareLinkedInXCopy linkSavehi....how to play video(with local path) in asp.net ..
YUyadagiri uppariRank #7,043 · 250 reputation13y agoPosted Oct 12, 2013, 1:21 AM EDT+1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="VideoPlaying.aspx.cs" Inherits="VideoPlaying" %><%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %> function ShowModalPopup() { var url = $get("<%=txtUrl.ClientID %>").value; url = url.split('v=')[1]; $get("video").src = url $find("mpe").show(); return false; } function HideModalPopup() { $get("video").src = ""; $find("mpe").hide(); return false; } PopupControlID="pnlPopup" TargetControlID="lnkDummy" BackgroundCssClass="modalBackground" CancelControlID = "btnClose"> Youtube Video +1Veena SardaRank #79 · 24.5K reputation13y agoPosted Oct 12, 2013, 12:32 AM EDT0Please share the code that you may have already tried.0Sunny SharmaRank #223 · 11.1K reputation13y agoPosted Oct 12, 2013, 1:21 AM EDT0Yadagiri,I'm not getting the point of using asp.net for playing video from local path. Why not to use HTML5 for that:----------------------------------------------------------- Your browser does not support the video tag. // Fallback message----------------------------------------------------------HTH :)0Sunny SharmaRank #223 · 11.1K reputation13y agoPosted Oct 12, 2013, 1:47 AM EDT0ok, so what's the problem? where are you stuck?0YUyadagiri uppariRank #7,043 · 250 reputation13y agoPosted Oct 12, 2013, 1:59 AM EDT0I need to use in my website...so that I am asking u that how to display video in asp.net0YUyadagiri uppariRank #7,043 · 250 reputation13y agoPosted Oct 12, 2013, 2:02 AM EDT0it is not working for local path.... but for youtube videos it is working0Sunny SharmaRank #223 · 11.1K reputation13y agoPosted Oct 12, 2013, 2:22 AM EDT0are you sure it is working for youtube videos?0YUyadagiri uppariRank #7,043 · 250 reputation13y agoPosted Oct 12, 2013, 2:39 AM EDT0ya...it worked well with youtube video0Join to answer this questionEvery answer you publish earns 20 SHARP.Create free accountSign inKnow the answer?Answer a question in the forums and earn +20 SHARP for every answer.See unanswered questionsForumsTop experts01Arun PottiAnswers in the forums20answers02Tahir AnsariAnswers in the forums5answers03Kamlesh KumarAnswers in the forums5answers04Sam HobbsAnswers in the forums4answers05Željko PerićAnswers in the forums3answers?YouYour name goes here.Every answer: 20 SHARP.JoinFull leaderboard →2026DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Veena SardaRank #79 · 24.5K reputation13y agoPosted Oct 12, 2013, 12:32 AM EDT0Please share the code that you may have already tried.0
Sunny SharmaRank #223 · 11.1K reputation13y agoPosted Oct 12, 2013, 1:21 AM EDT0Yadagiri,I'm not getting the point of using asp.net for playing video from local path. Why not to use HTML5 for that:----------------------------------------------------------- Your browser does not support the video tag. // Fallback message----------------------------------------------------------HTH :)0
Sunny SharmaRank #223 · 11.1K reputation13y agoPosted Oct 12, 2013, 1:47 AM EDT0ok, so what's the problem? where are you stuck?0
YUyadagiri uppariRank #7,043 · 250 reputation13y agoPosted Oct 12, 2013, 1:59 AM EDT0I need to use in my website...so that I am asking u that how to display video in asp.net0
YUyadagiri uppariRank #7,043 · 250 reputation13y agoPosted Oct 12, 2013, 2:02 AM EDT0it is not working for local path.... but for youtube videos it is working0
Sunny SharmaRank #223 · 11.1K reputation13y agoPosted Oct 12, 2013, 2:22 AM EDT0are you sure it is working for youtube videos?0
YUyadagiri uppariRank #7,043 · 250 reputation13y agoPosted Oct 12, 2013, 2:39 AM EDT0ya...it worked well with youtube video0
yadagiri uppariRank #7,043 · 250 reputationPosted Oct 12, 2013, 1:21 AM EDT
Veena SardaRank #79 · 24.5K reputationPosted Oct 12, 2013, 12:32 AM EDT
Sunny SharmaRank #223 · 11.1K reputationPosted Oct 12, 2013, 1:21 AM EDT
I'm not getting the point of using asp.net for playing video from local path. Why not to use HTML5 for that:
-----------------------------------------------------------
----------------------------------------------------------
HTH :)
Sunny SharmaRank #223 · 11.1K reputationPosted Oct 12, 2013, 1:47 AM EDT
yadagiri uppariRank #7,043 · 250 reputationPosted Oct 12, 2013, 1:59 AM EDT
yadagiri uppariRank #7,043 · 250 reputationPosted Oct 12, 2013, 2:02 AM EDT
Sunny SharmaRank #223 · 11.1K reputationPosted Oct 12, 2013, 2:22 AM EDT
yadagiri uppariRank #7,043 · 250 reputationPosted Oct 12, 2013, 2:39 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts