Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding VR Features to player #399

merged 39 commits into from Dec 19, 2019

Adding VR Features to player #399

merged 39 commits into from Dec 19, 2019


Copy link

golikov commented Nov 18, 2019

No description provided.

bharath-exads and others added 2 commits Sep 10, 2019
Adding VR Features to player

This comment has been minimized.

Copy link
Collaborator Author

golikov commented Nov 18, 2019

VR Video:

VR Advertisement Video:

Sample vast for 360 degree ad serving
VAST with attribute mediaType="360" in MediaFile tag

<?xml version="1.0" encoding="UTF-8"?> <VAST version="3.0"> <Ad id="1"> <InLine> <AdSystem>example1</AdSystem> <AdTitle /> <Impression id="example1"><![CDATA[]]></Impression> <Impression id="example12"><![CDATA[]]></Impression> <Creatives> <Creative sequence="1" id="1"> <Linear skipoffset="00:00:03"> <TrackingEvents> <Tracking event="progress" offset="00:00:01.000"><![CDATA[]]></Tracking> <Tracking event="progress" offset="00:00:02.000"><![CDATA[]]></Tracking> <Tracking event="progress" offset="00:00:05.000"><![CDATA[]]></Tracking> <Tracking event="progress" offset="00:00:05.000"><![CDATA[]]></Tracking> <Tracking event="progress" offset="00:00:09.000"><![CDATA[]]></Tracking> <Tracking event="start"><![CDATA[]]></Tracking> <Tracking event="firstQuartile"><![CDATA[]]></Tracking> <Tracking event="midpoint"><![CDATA[]]></Tracking> <Tracking event="midpoint"><![CDATA[]]></Tracking> <Tracking event="midpoint"><![CDATA[]]></Tracking> <Tracking event="thirdQuartile"><![CDATA[]]></Tracking> <Tracking event="complete"><![CDATA[]]></Tracking> </TrackingEvents> <VideoClicks> <ClickThrough><![CDATA[]]></ClickThrough> <ClickTracking><![CDATA[]]></ClickTracking> <ClickTracking><![CDATA[]]></ClickTracking> </VideoClicks> <MediaFiles> <MediaFile delivery="progressive" type="video/mp4" mediaType="360"><![CDATA[]]></MediaFile> </MediaFiles> </Linear> </Creative> </Creatives> </InLine> </Ad> </VAST>

Sample JS to invoke 360 and vr mode in player
<script type="text/javascript"> var myPlayer = fluidPlayer( 'myVideo' , { layoutControls: { showCardBoardView: true, showCardBoardJoystick: true } }); </script>

Currently player is supporting only 360-degree Videos (only monoscopic ) in cardboard mode
Currently player is NOT supporting 2D videos during the cardboard
Currently player is NOT supporting Banner or Non-Linear ads during the cardboard

@golikov golikov merged commit c9deb41 into master Dec 19, 2019
@golikov golikov deleted the vrplayer branch Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.