PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, September 29, 2022

[FIXED] How to show a Vimeo video in an Apple TV app

 September 29, 2022     apple-tv, tvos, vimeo     No comments   

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)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing