Giter VIP home page Giter VIP logo

Comments (2)

kurtb avatar kurtb commented on July 19, 2024

Great idea - we'll make sure to do that.

We're using oEmbed to get the embed code which leaves it up to the oEmbed provider (in this case Mix) to figure out the HTML to use to embed. Obviously we know the internal details, but it would be nice to not tweak what we get back.

We should in general have Mix be giving the iframe a title. Mixes already have a title so we could make use of that. But this may then end up differing from what the component gets called.

Any preference as far as what edX might prefer? Should the iframe title match the component display name? Or if it's different does that still work?

from xblock-officemix.

cptvitamin avatar cptvitamin commented on July 19, 2024

HI @kurtb, ideally, it would be something like this: title="Office Mix: [Human readable title that describes the contents of the Mix]" so in the example Mix, it would be title="Office Mix: Office Mix XBlock - Embed Office Mix lectures within Open edX
The part before the colon would be included for every Office Mix embed, the second half would be the human readable title. If the author doesn't set this in the Office Mix themselves, or its not available to edX at the point the iframe is rendered, perhaps they can define the title in Studio along with the URL of the Mix?

from xblock-officemix.

Related Issues (6)

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.