Issue
I'm trying to show a Vimeo video with a sample app for Apple TM.
This is my code:
var Template = function() { return `<?xml version="1.0" encoding="UTF-8" ?>
<document>
<catalogTemplate>
<banner>
<title>RWDevConHighlights</title>
</banner>
//add stuff here
//1.
<list>
<section>
//2.
<listItemLockup>
<title>Inspiration Videos</title>
<decorationLabel>4</decorationLabel>
<relatedContent>
<grid>
<section>
//2
<lockup videoURL="http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4">
<img src="${this.BASEURL}images/ray.png" width="500" height="308" />
</lockup>
</section>
</grid>
</relatedContent>
</listItemLockup>
</section>
</list>
</catalogTemplate>
</document>`
};
This doesn't work:
<lockup videoURL="https://vimeo.com/176253524">
<img src="${this.BASEURL}images/ray.png" width="500" height="308" />
</lockup>
How can I integrate a Vimeo video?
Solution
At the vimeo.com you can press button "Share" and get a correct link to your video. So, I think you should use https://player.vimeo.com/video/176253524 instead of your url.
Answered By - Roman Podymov Answer Checked By - Katrina (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.