Video and Audio add to Website

huffman

New member
Pro User
Local time
7:07 AM
Messages
715
I am using Dreamweaver 8 to put Video and Audio onto a website. When I do that it test great in Dreamweaver but when I upload the site to my server, it does NOT play; don't much of anything. Certainly does NOT play the video or audio.

Does anyone have the codes to embed video or audio to a website? I have some but they NO longer work. Thanks for help.
 

My Computer My Computer

At a glance

Windows 7 ProIntel(R) Pentium(R) Duel CPU E2200 2.20 Ghz4 gb 2.96 UsableOnboard
OS
Windows 7 Pro
CPU
Intel(R) Pentium(R) Duel CPU E2200 2.20 Ghz
Motherboard
GA-G41M-ES2L
Memory
4 gb 2.96 Usable
Graphics Card(s)
Onboard
Sound Card
Onboard
Hard Drives
2 - 1TB WD Sata Drives
Have you uploaded the video + audio to the server and linked correctly ? You might just be referencing local files.
 

My Computer My Computer

At a glance

W10 Pro x64, W7 Pro x64 in VMwarei7 2600K @ 4.4GHz8GB Mushkin @ 1600MHzNvidia GTX 750 Ti
Computer type
PC/Desktop
Computer Manufacturer/Model Number
self build
OS
W10 Pro x64, W7 Pro x64 in VMware
CPU
i7 2600K @ 4.4GHz
Motherboard
MSI Z68A-GD80
Memory
8GB Mushkin @ 1600MHz
Graphics Card(s)
Nvidia GTX 750 Ti
Monitor(s) Displays
27" Benq + 27" LG
Screen Resolution
1080p
Hard Drives
500GB 850 Evo SSD + 3 * 2TB Seagate
PSU
EVGA 650 GS modular
Case
Antec 300
Cooling
Seidon 120V v2
Internet Speed
62/18 Mbps
Antivirus
Defender (W10) + MSE (W7)
Browser
Firefox
Dreamweaver creates all the code needed to play the video or audio. When I look at the source code in IE it looks the same as that in Dreamweaver which tests like it should.
Yes I did upload the code and the audio or video file.
 

My Computer My Computer

At a glance

Windows 7 ProIntel(R) Pentium(R) Duel CPU E2200 2.20 Ghz4 gb 2.96 UsableOnboard
OS
Windows 7 Pro
CPU
Intel(R) Pentium(R) Duel CPU E2200 2.20 Ghz
Motherboard
GA-G41M-ES2L
Memory
4 gb 2.96 Usable
Graphics Card(s)
Onboard
Sound Card
Onboard
Hard Drives
2 - 1TB WD Sata Drives
Look at the specifications of the HTML5 tags:
HTML5 Video
HTML audio tag

Those should provide with a reasonable reference to check your code. Also look at the browser compatibility tables, a very likely cause is that your real browser don't support the format but the test environment does. That's the most common issue with HTML5 multimedia, and is partially mitigated by providing multiple formats so the browser picks the one it understands.
You could also test the HTML files directly from your computer opening in various browsers before uploading.

I'm assuming you're using HTML5 here, but if that's not the case and you're using Flash (which is the most common option, actually), make sure you upload the .swf file in addition to the media files.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7-740QM8 GB DDR3NVIDIA GeForce 330GT
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
Thanks Alejandro85

I had looked at those before but I am not sure if I tried those codes or not. The reason being I am not sure about the code. Such as:

<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">

I don't have a clue why the type="video/mp4" is needed or line
<source src="movie.ogg" type="video/ogg"> is even needed at all.

I did look at the source codes for those pages and yes it has all that code and it works for that site.

I guess I will have to just work thru it. It used to be so easy and now they have complicated it to much.
 

My Computer My Computer

At a glance

Windows 7 ProIntel(R) Pentium(R) Duel CPU E2200 2.20 Ghz4 gb 2.96 UsableOnboard
OS
Windows 7 Pro
CPU
Intel(R) Pentium(R) Duel CPU E2200 2.20 Ghz
Motherboard
GA-G41M-ES2L
Memory
4 gb 2.96 Usable
Graphics Card(s)
Onboard
Sound Card
Onboard
Hard Drives
2 - 1TB WD Sata Drives
Those lines are what tell the browser what is the actual video to play, it's of utmost importance. The type is an hint for the media type, helping the browser to decide is it's capable of displaying it or not.

Post the whole relevant piece of code. Otherwise it's just guessing. It could be a typo, a missing file, browser incompatibility or pretty much anything.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7-740QM8 GB DDR3NVIDIA GeForce 330GT
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)

My Computer My Computer

At a glance

Windows 7 ProIntel(R) Pentium(R) Duel CPU E2200 2.20 Ghz4 gb 2.96 UsableOnboard
OS
Windows 7 Pro
CPU
Intel(R) Pentium(R) Duel CPU E2200 2.20 Ghz
Motherboard
GA-G41M-ES2L
Memory
4 gb 2.96 Usable
Graphics Card(s)
Onboard
Sound Card
Onboard
Hard Drives
2 - 1TB WD Sata Drives
OK now I got the Video to work, but still do NOT like the controls but can live with them I guess until I can find something better.

Here is the link to the movie.

http://www.geos.byethost16.com/movie/sub_01.html?ckattempt=1

If anyone comes up with code with other controls I would love to try them. Thanks
 

My Computer My Computer

At a glance

Windows 7 ProIntel(R) Pentium(R) Duel CPU E2200 2.20 Ghz4 gb 2.96 UsableOnboard
OS
Windows 7 Pro
CPU
Intel(R) Pentium(R) Duel CPU E2200 2.20 Ghz
Motherboard
GA-G41M-ES2L
Memory
4 gb 2.96 Usable
Graphics Card(s)
Onboard
Sound Card
Onboard
Hard Drives
2 - 1TB WD Sata Drives
Back
Top