AppMachine Help Center

How can we help you?

Follow

Add a YouTube video link in your Excel block

- You will need to go to Youtube
- Go to your video
- Below the video there is a "SHARE" button

- Use the EMBED link This will look like this:​


<iframe width="560" height="315" src="https://www.youtube.com/embed/m7rO-lC2ZEM" frameborder="0" allowfullscreen></iframe>

- Change the "width="560" to width="320"​
- Go to  http://www.opinionatedgeek.com/DotNet/Tools/HTMLEncode/Encode.aspx​​
- Paste the EMBED url in it en press "encode" ​


- You can paste this url in your Excel​ sheet.

To show it in your template​, click on "source" and paste:
<webview field="video" margin="10" width="fill_parent" height="200" />​

(where "video" is the column name of your Excel where you have to url to the video)​

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

  • Avatar
    harrywildeboer

    <webview name="Webview1" margin="5" value="&amp;lt;style&amp;gt;.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } --&amp;gt; &amp;lt;/style&amp;gt; &amp;lt;div class=&amp;quot;embed-container&amp;quot;&amp;gt;  &amp;lt;iframe src=&amp;quot;http://www.youtube.com/embed/{data:video}?rel=0&amp;amp;amp;showinfo=0&amp;quot; frameborder=&amp;quot;0&amp;quot; allowfullscreen=&amp;quot;&amp;quot;&amp;gt;&amp;lt;/iframe&amp;gt;&amp;lt;/div&amp;gt;"></webview> 

    Where video in {data:video} is the colom name with only the video code like 6-bgxikANQo

    Edited by harrywildeboer