跳至内容
菜单
此问题已终结
2 回复
4121 查看

Use Case 1: Let's say I'm part of a band and I want to add a Spotify widget to my website.


Use Case 2: I want a Christmas song to play automatically in the background in my website during December

形象
丢弃

I was also looking to add music at my website

编写者 最佳答案

Process

  • Step 1: Build your Website with Odoo Website App :)
  • Step 2: Enter the Website App  and click on"Edit" Button on top right corner 
  • Step 3: Drag and Drop an "Embed Code" Block 
  • Step 4: Click on the block and then "Edit"
  • Step 5: Enter your Music hosting service (Spotify, Soundcloud, etc.), click on "Share" and copy the "Embed" link
  • Step 6: Paste the link in Odoo Website Code Editor and save
  • Step 7: Save the changes in Odoo Website Builder
  • Now you have the music player




Notes

  1. If you want the music to autoplay, you need a service that lets you autoplay the music (for example, Soundcloud has a checkbox for "autoplay" when copying the link.
  2. For autoplay to work, the person visiting the website needs to do an action inside(for example, entering the website and then going to the page that has the music [another page])
  3. Autoplay music is not allowed by most of the browsers, and it is not supported on mobile devices
  4. Make sure you have the rights to use the song in your website


形象
丢弃
相关帖文 回复 查看 活动
0
12月 23
53
3
2月 25
3178
0
7月 25
348
2
7月 25
416
3
7月 25
2975