Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Testing embeddedc video files

Status
Not open for further replies.

JScannell

Programmer
Jan 9, 2001
306
US
This one is real strange. I wish to test out the ability to take videos on my cell phone, import them to my website, then display them on my home page.

Obviously, I need to test this functio0nality out on my localhost IIS website first.

So here's what my problem is: I have successfully taken and uploaded a video from my cell phone to my local website. The path is: C:\Inetpub\
Here's my code:
<video width="320" height="240" controls>
<source src=" type="video/mp4">
Your browser does not support the video tag.
</video>

If I run this code, I get a gray box with the text: No video with supported format and MIME type found.

I even tried using a relative path: <source src="Councils/99999/GenericUploads/20200912_163913.mp4" type="video/mp4">

If I copy the video to an outside, real website, and change the code to read this way, it works fine:
<source src=" type="video/mp4">

So, what do I have to do to make it work correctly when the file is located locally? Just so you know, the "Councils\99999\GenericUploads\" has jpg files that show properly when they are displayed via an img element.


As a secondary question, is there a way to rotate videos such that they show correctly? I turned my phone to make a horizontal video, but it displays vertically. I've attached a screenshot. (note, this screenshot was only available to me if I use a "real" website...). I also included the error screenshot...

Thanks in advance,
Jerry Scannell

Jerry Scannell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top