Skip to main content
HelenLouise
Inspiring
February 17, 2022
Question

CS6 - code for inserting own .mp4 into page

  • February 17, 2022
  • 3 replies
  • 4542 views

Hi again ~

I've read previous posts about this but wondered if in 2022 things have changed. I've previusly had a video on there but took it off years ago. This was the code I used:

<embed src="animations/LizardyRingAnimateRhinoGold.mp4" width="265" height="200" align="LEFT" pluginspage="http://windows.microsoft.com/en-us/windows/windows-media-player"></embed>

 

Wondering also if I need to link the windows media player, as I had with previous video - what would be the updated link?

 

Thank you very much.

This topic has been closed for replies.

3 replies

Nancy OShea
Braniac
March 6, 2022

There's no such thing as CS6 code.  It's all HTML.   However to suppor t<video> you must use the HTML5 doc type. 

MP4 with <video> is recognized by all modern browsers; no ancillary players required.

 

EXAMPLE:

=========

<!doctype html>
<html lang="en">
<head>
<title>Video Demo</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

</head>

<body>

<video title="Your Video Title" poster="path/YOUR_POSTER_IMAGE.jpg" controls="controls" >
<source src="path/YOUR_VIDEO_FILE.mp4" type="video/mp4">
</video>

</body>

</html>

 

Nancy O'Shea— Product User, Community Expert &amp; Moderator
Braniac
March 6, 2022
quote

 

MP4 with <video> is recognized by all modern browsers

 

By @Nancy OShea

 

Not if the mp4 file is encoded incorrectly.

Nancy OShea
Braniac
March 7, 2022
quoteNot if the mp4 file is encoded incorrectly.

By @osgood_

==============

Well it's assumed that it is.  And so is the MIME file type being recogized by hosting server. Failing that, the video won't work on any device.

 

Nancy O'Shea— Product User, Community Expert &amp; Moderator
Jon Fritz
Braniac
February 18, 2022

 

I am not sure what you mean by opening the .mp4 file directly from my browser. I have attached it below.


By @HelenLouise



What I mean is, open your browser, then go to File > Open or hit Ctrl + O and browse to the .mp4 file on your computer.

 

That will open the mp4 in your browser without the html page.

 

If it doesn't run in the browser opening it this way, it would mean there is something wrong with the mp4 file itself.

HelenLouise
Inspiring
March 6, 2022

Hi everyone for all your time and help. Apologies, I haven't been able to get back to this issue till now as I've been following up server/settings issues which was the reason you all could not see the code properly and my page was not uploaded (new laptop). If any of you would still like to help me, I have compiled where I'm at below:

Yes, my video does play.

I have uploaded the page now and the video and the .htaccess file and now get the message "No video with supported format and MIME type found".

I've looked through another discussion about this https://community.adobe.com/t5/dreamweaver-discussions/problem-embedding-video/m-p/9576149 but I haven't been able to get it working.

osgood_  I did the movie test and it works.

Nancy OShea, I don't have the HTML5 Video option in the menu INSERT>HTML.

My page is http://designdrawcad.com.au/Services.html where you can now correctly see my code.

Thank you very much.

HelenLouise
Inspiring
March 6, 2022

Also, my server company asked me to check whether Adobe CS6 was TLS1.2 compatible. I believe (looking at this discussion thread https://community.adobe.com/t5/dreamweaver-discussions/tls-1-2-protocol/td-p/8815234), since my site uploads, it's not an issue for this.

BenPleysier
Braniac
February 17, 2022
Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
HelenLouise
Inspiring
February 17, 2022

Hi Ben, thank you, I tried this but it still didn't work. Here is my code. I converted to ogg of course. I added file up in the directory in case it would help.

 

<video width="342" height="276" autoplay>
<source src="animations/TrilogyCrossClawring.mp4" type="video/mp4">
<source src="animations/TrilogyCrossClawring.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
<p>&nbsp; </p>
</div>

B i r n o u
Braniac
February 17, 2022

two questions...

is it local ? or remote ?

can you make a screenshot of your file panel, showing all the files concerned?