Giter Site home page Giter Site logo

cards-player-samples's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cards-player-samples's Issues

Not whitelisted issue

Hi i am using this sample code and make all required changes as suggested in help doc. But i am getting Not whitelisted issue when i am testing it with validator. Can you please guide me what i have to do. Please see the attached and https://twitter.ethrmusic.com/player/page.html is url to my card.

card validator twitter developers 2016-05-04 12-56-45

Also i want to know if i want multiple card than what i have to do? need to create new html file for every card or something else please suggest ASAP. Thanks in advance

Autoplay directly in Twitter

Is there a way to get autoplay working directly in the feed without having to click play? I'd like to use it as an animated og image.
My current code looks like this:

    <video muted autoplay loop controls>
      <source src="sanshoOgVideo.mp4" type="video/mp4">
    Your browser does not support video
    </video>

File name in README.md

The second step in the quick start is:

Open the index.html file and

However there is no index.html file under /player. Did you mean player/page.html, or should that be renamed to player/index.html?

Should use example.com instead

Since yoursite[.]com actually exists, we should use example.com instead.

Now on Twitter, you don't seem to need your domain approved to display player cards.
When I tried deploying without thinking too much, something like yoursite[.]com refused to connect. was displayed on the card.
I guess it's not good to use an existing domain for example purposes.

This framework is fundamentally flawed: only allows one card per html page

The very essence of this whole card thing is pathetically flawed, in that one has to define the contents of a card by unique metatags in a page, meaning that one page can only contain one card.

Suppose that I have a webpage with a few posts (e.g. each post having an image, or a video).
An url like https://mydomain.com/path/to/some/page#post1 would point to a post and an url like https://mydomain.com/path/to/some/page#post2 would point to another post in the same page. Your "Cards" system doesn't allow to define a card for post1 and another card for post2, having each link work as a different card.

No display, only comments !

Hello,

Maybe I missed something, but I set everything, and nothing, only the three comments :

_This page has meta tags showcasing the Twitter Player Card with a static MP4 file. The video is courtesy of @twitterdev.

When implemented on your own site, please ensure that all links to video are secure (use https).

Lastly, the behavior of video playback is according to the following rules: https://developer.twitter.com/en/docs/tweets/optimize-with-cards/overview/player-card_

Need help please !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.