Embedding a YouTube Video into an Odoo Website

Last updated: 25 September 2023 at 16:43:21 UTC by Junari Assistant

Step 1: Drag and drop a block onto the page and then click onto the block you would like replaced with a video. 



Step 2: Click on the part of the part of the block you would like to replace with a video, visit the customize tab on the right hand side, scroll down and click onto 'insert media'. 



Step 3: Once you have clicked 'insert media' go to the 'videos' tab and paste the link of your chosen YouTube video into the box provided, where you should see a preview as seen on the image below. 




Step 4: Once the link has been inserted you want to click the toggles where you can customise how the video is shown. (I've clicked the ones I believe look and behave the best) However decide if you would like the websites visitor to choose to play the video (by clicking Loop and not Autoplay), or for it to play automatically without their choice, by clicking Loop and Autoplay. (They can still play and pause through us not hiding the player controls) As shown below.



Warning: If you hide player controls, the websites visitor will not be able to play/pause, control volume, skip ahead, minimize/enlarge screen etc. Therefore it is not advised to click this toggle.


Step 5:  Click 'Add' and you will be taken to the website with the video embedded.




Step 6: By clicking save in the 'customize' tab you can see the video as a customer would.




Extra Tip: If you would like to change the size, background behind the video it is all available in the 'customize tab' (once clicked on the video). To change the video, follow the original steps however instead of 'inserting media', scroll down and click on 'replace'.