Jump to content

Pages: how to add youtube video parameters in template


sobrenome

Recommended Posts

I am currently parsing YouTube video in Pages using this code:

{$record->customFieldDisplayByKey('video_exercicios_youtube')|raw}

The database record contains only the YouTube URL, without any parameters.

I would like to add these parameters to my videos by editing the Page template, not all the URLs: autoplay=1&playsinline=1

How can I append these parameters to the YouTube URLs editing the Page template?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...