Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Testing embeddedc video files

Testing embeddedc video files

Testing embeddedc video files

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\wwwroot\kofcri\Councils\99999\GenericUploads\20200912_163913.mp4

Here's my code:
<video width="320" height="240" controls>
<source src="http://localhost/kofcri/Councils/99999/GenericUplo..." type="video/mp4">
Your browser does not support the video tag.

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="http://www.carlintransportation.com/Videos/2020091..." 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

RE: Testing embeddedc video files

As a quick followup, I also tried viewing the file with a direct path "c:/inetpub/wwwroot/kofcri/Councils/99999/GenericUploads/20200912_163913.mp4" and that didn't work, either.


Jerry Scannell

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close