#1 Topics related with other programs » HTML Compiler - How to properly use the video and audio tags » 2015-12-21 15:03:14

fittachi
Replies: 1

hello
i use HTML compiler
and i want to compile that file but after compile and run app cant show video
and show that error
"invalid source"
but this file work completely in IE

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>

<body>
        <video id="video" controls preload="metadata">
           <source src="7.mp4" type="video/mp4">
           <track label="English" kind="subtitles" srclang="en" src="7-2.vtt">
           <track label="Persian" kind="subtitles" srclang="fa" src="7.vtt" default>
        </video>
        
</body>
</html>

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.