Here is my setup, and I'm in an-premise SharePoint 2013 environment:
- Asset Library (OOTB)
- "Video" Content Type Applied (OOTB)
- Video file uploaded and default rendition created
- CQWP (OOTB) Filtering by content type (Video)
The CQWP query properties:

The result, using a ShowXML item style, is the following data. Notice how the path to the actual video file is not referenced:

There is some missing data from this view. I cannot find the right column names to type in the "Fields to display" to get the following items:
- Frame Width (Found) VideoWidthInPixels
- Frame Height (Found) VideoHeightInPixels
- Length (Found) MediaLengthInSeconds
- Video File URL
I understand if I navigate to the FileRef that I get redirected to a page that renders the video, but we need the videos output by a CQWP to build an html5 player directly on the page - without silverlight.
Thanks for any help you guys can provide,
The Content Query Web Part does not return all fields for all items automatically. You can use the CommonViewFields property to request specific fields to render.
Steps:
1) Export CQWP
In order to render
VideoHeightInPixelsandVideoWidthInPixelsproperties locate theCommonViewFieldsproperty in the .webpart file, and then edit it to look like the following:This markup requests the
VideoHeightInPixelsandVideoWidthInPixelscolumns, to make the data in the columns available for rendering. Each internal column name is specified, followed by its data type. The name/type pairs are separated by semicolons.2) Save the modified .webpart file and upload it
Video Content Type
Since
Videocontent type (calledVideo Set) is derived fromDocument Setcontent type, when the video asset is uploaded the new Video Set (Folder) is being created.FileRefformat:where
videosetnameis automatically generated based on the uploaded file name, for example:How to configure CQWP to render video files from Assets Library
In order to render video files from Assets library specify the following query