Giter Site home page Giter Site logo

Comments (4)

kjvarga avatar kjvarga commented on July 16, 2024

Hmm, there is no way at the moment. After reading more of the spec there are a few attributes to support. There is no clean way of supporting attributes with the current setup. I'm going to have to think of the best way to support this. Perhaps an easy workaround is to allow :player_loc_attributes => {} option or something like that

from sitemap_generator.

 avatar commented on July 16, 2024

As far as I know, only player_loc may have attributes according to recent sitemap reference. So :player_loc_attributes => {} would be a good solution.
Thanks!

from sitemap_generator.

kjvarga avatar kjvarga commented on July 16, 2024

I'm super close to releasing some updates for Video sitemaps but haven't had the time to finish it. I thought I'd let you know that the code already supports those attributes (! surprising I know...an undocumented feature). The options are :allow_embed and :autoplay.

The updates I've added are mainly for proper formatting of dates and stuff, oh and I've added lots of docs for Video Sitemaps. So now all the info you will need is right in the README :) Coming soon...

from sitemap_generator.

kjvarga avatar kjvarga commented on July 16, 2024

Ok I've released v2.1.8 with full video sitemap support :). I suggest you upgrade and check out the docs in the README.

from sitemap_generator.

Related Issues (20)

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.