Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 1.28 KB

how-do-i-add-video-elements-to-a-winjs-ui-listview.md

File metadata and controls

23 lines (21 loc) · 1.28 KB
title authors intro types categories published updated status
How do I add video elements to a WinJS.UI.ListView
thebeebs
If you create a [WinJS.UI.ListView](http://msdn.mi...
shorts
win8at8
2012/08/01 12:00:00
2012/08/01 13:00:00
archived

If you create a WinJS.UI.ListView and add interactive content to it, by default you will not be be able to interact with it. So with a video element you will not be able to press the play button or change the volume.

If you want to enable this behaviour all you have to do is add the class name win-interactive to the root element of the WinJS.Binding.Template that you use for the template of the WinJS.UI.ListView