Audio and video don't play in Live view
Audio and video files do not play in Live view in Dreamweaver 2015.2. However, the media files play as expected when viewed on browsers.
This issue occurs on both Windows and Mac OS.
If you have inserted MP3 and MP4 files in Dreamweaver versions prior to 2015.2, such audio and video files do not play in Live view in version 2015.2 and later. When you inserted such files in previous versions of Dreamweaver, the 'type' attribute was added to the corresponding code.
Because of codec changes due to CEF integration in Dreamweaver 2015.2, audio or video files with the 'type' attribute in the code do not play in Live view.
Solution: Remove the 'type' attribute, or insert the audio/video files directly
Remove the 'type' attribute, or insert the MP3 and MP4 file directly as the 'src' in the <audio> or <video> tag.
For example:
HTML audio:
<audio controls>
<source src="../Cadbury.mp3">
<source src="../Cadbury.wav">
</audio>
HTML video:
<video controls>
<source src="../H264-big_buck_bunny.mp4">
<source src="../big_buck_bunny.ogg">
</video>
Buat situs web yang menarik di Dreamweaver
Rancang, buat kode, dan kelola situs web dinamis dalam satu alat lengkap yang canggih.