html5 video tag
Hello,
html5 is supposed to be supported by webkit, but when i add the video tag in a simple index.html or php tag it returns an error :
<video> is not allowed inside <div>. Content ignored.
Unmatched </video> encountered. Ignoring tag.
Any idea ?
4 Answers
-
Dropping this snippet in Sandbox in Titanium Developer works for me:
<video src="http://movies.apple.com/movies/us/apple/ipoditunes/2007/touch/ads/apple_ipodtouch_touch_r640-9cie.mov" height="320" width="480" autoplay="true">alternate content</video>
-
Hello,
i tried this - it's almost the same code i've written.
it's working on safari but not in titanium.
canvas works, but it seems that the video tag is unknown.
i'm wondering if it can be a header http issue but i don't find anything. -
appcelerator seems to use an old webkit version on windows …
There is any way to include the latest webkit build ? -
I recommend looking over this info:
http://www.codeboxed.com/2011/03/embeding-video-files-in-a-titanium-desktop-application/