MVC Quicktime / Mov Doesn't Play?
Mar 23, 2011
I am trying to embed a mov onto a cshtml page, all the resources seem to be referencing properly but the video won't play.
The videos are located in the /Content/Videos directory. I thought it was a permission issue but I granted everyone permission with no luck. Could this be an IIS issue? (Checked mime types for mov) or do I have put to do something in the global.asax (routes.IgnoreRoute) for mov files extensions?
Firebug shows when the player is clicked to play the video it does a successful get of the video but I don't think it is supposed to do a get action, I tested the same video from a plain html page opened from the file system, it doesn't invoke a get action when player is clicked.
I also tried to play the movie by typing the whole path in the address bar again no luck it just comes up with a quicktime logo with a question mark inside it.
Script references:
<script src="http://www.apple.com/library/quicktime/scripts/ac_quicktime.js" language="JavaScript"
type="text/javascript"></script>
<script src="http://www.apple.com/library/quicktime/scripts/qtp_library.js" language="JavaScript"
type="text/javascript"></script>
Script to embed the video:
<script type="text/javascript"><!--
QT_WritePoster_XHTML('Click to Play', '../Content/Videos/myMovie.jpg',
'../Content/Videos/myMovie.mov',
'520', '296', '',
'controller', 'true',
'autoplay', 'true',
'bgcolor', 'black',
'scale', 'aspect');
[Code]....
View 1 Replies
Similar Messages:
Jun 18, 2010
I'm using the css sprite technique to hold all the buttons on the site in one PNG Image.
This technique works fine on all browsers on your normal Style Buttons, however for IE 7/8 it shows a border and a red x on any input where I use a css class to define the image. This technique works fine for Firefox. Am I missing something here ?
HTML:[URL]
CSS:[URL]
Comparison:[URL]
View 2 Replies
Aug 26, 2010
I have a page with an update contentpanel, with 4 panels inside. Image buttons outside the update panel control control which panel is visible. I am trying to call an animation from a javascript function, but the animation doesn't work, everything else does.
main.aspx:
[Code]....
main.aspx.vb:
[Code]....
web.config:
[Code]....
View 10 Replies
May 8, 2010
I have a quicktime movie(Size: 1.5 mb Format: .mov) that I would like to play on the site when the site loads.
This movie will melt in with a backgroundpicture so it is important that there is no borders of any possible control that can hold this QuickTime movie to put the movie in the exact place.
I wonder what control that can hold a QuickTime movie like this ?
View 6 Replies
Jul 2, 2011
I would like also to know the way to have an embedded video in my site that will not have the play buttons and play again and again. Is there a way to do that??
View 2 Replies
Mar 11, 2010
how i can play a .wav file in my web application. i am using asp.net mvc with c#. i am very new to using mvc and i need some guidence for the use of views and controllers.
View 4 Replies
Jan 21, 2010
I have created a short flash move and want to play it when the website is first loaded then when its finished automatically load the main site but i'm not sure .
View 5 Replies
Mar 22, 2010
In my project when i click any button or linkbutton, it doesnt fire any event or doesnt postback.
It was working fine but now it hv problem like this.
I think i have changed some settings by mistake.
View 5 Replies
Jul 23, 2010
I debugged my code and it sets the visible to true and it doesn't show up in view/source either. PnlError is the one not displaying...
[Code]....
View 8 Replies
Mar 8, 2010
i want to upload video file and then paly it on asp.net page.
View 6 Replies
Jan 31, 2011
I am working on CMS program and i want to be able to play .xap files (Silverlight Files) the problem
I can't find a tag that can contain xap files and be valid in c# code to be able to change the source file
View 3 Replies
Mar 5, 2011
I already have my audio file in database (which is in varbinary(max) data type) and I could retrieve said music as byte(). But the problem is I don't know how to play it..
View 3 Replies
Jan 3, 2011
I have successfully build the required interface to upload images and videos within my MVC application. When I upload an image it will be displayed successfully in my application. But When I upload a video it will upload successfully, but an "X" will be displayed in the view. and when i click on this "X" the real player application will open and play the video. But what I need is to be able to play the video within my application?
View 6 Replies
Aug 19, 2010
I have created a web-page where I have to paly .swf file. My code is working fine and swf file is played perfectly in Internet Explorer but not in mozilla firefox. Below is my code :-
[Code]....
View 3 Replies
Aug 6, 2010
How do yo play a video with silverlight?
does Visual Studio come with a video player component build in? or do I need to make a video player?
View 2 Replies
Jan 14, 2010
I am developing a ASP.NET by using c#.net and have many WMV files and have to watch the range of the file which I gave.The size of files are too big also the users shouldn't download the all of the file , should download between the range which I give .
View 1 Replies
Feb 4, 2011
i am using jw player to play an flv file including captions. this seems to work fine. but now i need to play a ad before my flv file starts playing?or can we play flv files one aftre the another using jquery
View 1 Replies
Jul 13, 2010
At page load I made several tabs Enable = false.
If a button is clicked I want to set Enable = true.
The problem is that this doesn't work, they stay not touchable. How come?
RelatieTabContainer.TabIndex = 2;
RelatieTabContainer.TabIndex = 0;
View 12 Replies
Mar 8, 2011
Is there a way to play a wmv file in my asp.net webpage? Will an end use need install some control when he access the webpage?
View 5 Replies
May 14, 2010
In what way, if any, can/does the 'membership db' play friendly with another SQL db.. or can I wire up the 'login control' to use a SQL DB to validate/get perm info?...
I believe the aspnetdb inside the actual site in app_code or somewhere is the 'membership db, correct?
Whereas I wish to use all info pertaining to logins/perms from fields in an actual SQL DB since my web app is using a huge DB for a factory floor's production management.
How do I authenticate this way? Also, I would like it to be in a master page, and upon login, redirect to another directory say, '/Members' which is locked out from anonymous browsing.
I previously had the following code:
web.config :
[Code]....
Default.aspx :
[Code]....
View 7 Replies
Aug 23, 2010
how to use Silverlight to play audio from local ASP.NET folders?
View 1 Replies
May 24, 2010
how can i add audio play button to play mp3 file
View 3 Replies
Jan 28, 2010
I wants to a play a video on page loading. On pageload the video was not display. But i refresh the page then video play. After that also play ...
What is the problem on page loading?
View 1 Replies
May 12, 2010
Method 1:(does not work on IE, works on Firefox, the downloadatt.aspx load video from document server and ouput)
<object width="320" height="240" autoplay="false" controller="true" scale="ASPECT" src="http://localhost/TestVideo/DownloadAtt.aspx">
<embed play="false" autoplay="false" controller="true" width="320" height="240" src="http://localhost/TestVideo/DownloadAtt.aspx"></embed></object>
Method 2 works
<object classid='CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95' id='player' width="320" height="240" standby='Please wait while the object is loaded...'>
<param name='src' value="http://localhost/TestVideo/DownloadAtt.aspx" />
<embed play="false" autoplay="false" controller="true" width="320" height="240" src="http://localhost/TestVideo/DownloadAtt.aspx"></embed></object>
</object>
But the problem is that I do not know the video format, so I can not predefine object's classid.
I prefer method 1(since I do not need to worry about the video format), But it does not work on IE, I used to point the src to an ISAPI dll which does the same thing as DownloadAtt.aspx(below) and it works. Now I change to Asp.net, it does not work. :(
Does anybody know how to make the method 1 work?
File DownloadAtt.aspx:
[Code]....
View 9 Replies
Mar 6, 2011
I want to play the video file from my repository into the web browser using asp.net/c#.
View 3 Replies