Hello All,
I am facing a problem by playing videos in the server.
The code is as follows:
LLID.Append(");
LLID.Append("codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' type=application/x-mplayer2; align=absmiddle");
LLID.Append("standby='Loading Microsoft+reg; Windows+reg; Media Player components...' id=mp1 /> ");
LLID.Append("");
LLID.Append("].ToString()) + "> ");
LLID.Append("");
LLID.Append("");
LLID.Append("");
LLID.Append("");
LLID.Append("");
LLID.Append("");
LLID.Append("");
LLID.Append("");
LLID.Append("");
LLID.Append("");
LLID.Append(" ");
LLID.Append(" ");
LLID.Append(" ");
LLID.Append(" ");
LLID.Append("");
LLID.Append("");
This code is working fine in local system . But when upload the site on web server , This code is not working , please help me
Thanks in advance.
Loading
Suthish NairPosted Dec 27, 2010, 3:58 PM
Then in your code point this path to videos.
Eg: Virtual directory named "Videos" to path "D:\Folder1\Video.wmv"
In code, pass path as "http://yourservip/Videos/Video.wmv"
hari KishanPosted Dec 27, 2010, 7:53 AM
Thanks for your reply.
I checked video path and it is showing as correct physical path where the video is located( like "D:\Folder1\Video.wmv") . here My question is, When page is rendered with video, From Which location video will play? Is it Client system path "D:\Folder1\Video.wmv" or Server system path?
Here when i play the video, it is searching "D:\Folder1\Video.wmv" in local system. If I place this video in respected path, video is palying. How can i get the video from server instead of local system?
CrishPosted Dec 27, 2010, 7:19 AM
1) check video path of your page using view source in server (It may set "localhost").
2) There may .dat file....it working in localserver but not work in server becauze not server not supported .dat file (supporting files.. .swf,.flv etc.)
2) talk with your server host for more details because you need to add some configuration (server) in for displaying video in your site.