AnsweredAssumed Answered

Replacing Value

Question asked by leftear13 on Mar 31, 2014
Latest reply on Mar 31, 2014 by leftear13

Title

Replacing Value

Post

     How would I go about replacing the value of height and width in an iFrame code?

     <iframe width="560" height="315" src="//www.youtube.com/embed/0RdrPzHeIpk?rel=0" frameborder="0" allowfullscreen>

     When our suppliers submit new products to us, they sometimes include a promotional video which we then embed on our website, but most all have different widths and heights  (width="560" height="315").  Rather than changing them manually, we'd like to change/replace those values only with, for example 300 as the width and 150 as the height, to keep it consistent when posted on our website.

     Can't get my head around how to achieve this in Filemaker.

     Any insight?

     Thanks!

      

      

      

Outcomes