Results 1 to 3 of 3

Thread: (solved) Attribute for iframe videos ?

  1. #1
    User
    Join Date
    04-01-10.
    Posts
    289

    Frage (solved) Attribute for iframe videos ?

    Hello,

    In Metamodels, as in the video database demo, I would like to embed youtube or vimeo iframe code. Which attribute to use and how to configure it ?

    Thanks.
    Last edited by charled; 04/16/2022 at 00:53.

  2. #2
    User zonky's Avatar
    Join Date
    11-29-11.
    Location
    Berlin
    Posts
    159

    Default

    there are several possibilities...

    You could use a text attribute to save the Vimeo code and then either build a suitable attribute template for it or implement it in the template "metamodels_prerendered.html5".

  3. #3
    User
    Join Date
    04-01-10.
    Posts
    289

    Default

    Hi Zonky,

    Thanks for your answer.

    Just after I posted, I found I had to enable html decode/encode in the text attribute (as I copied the entire irame code). And now, i'm integrating it in a template.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •