Developer forum

Forum » Rapido » Background mp4 video

Background mp4 video

Tan Pang Lin Dynamicweb Employee
Tan Pang Lin
Reply

Hi Support

May I know is it possible to have own mp4 video as a video backgroud?

If yes,  how to make it work as I am not able to get it work.

http://cl-dev.dynamicwebapac.com/files/images/commune/video/test.mp4

Thanks

Pang Lin


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

The option in paragraph container could be used (attachment). The video should be taken from Youtube. The feature is available on Rapido 3.0 and up only.

BR, Oleg QA    

 

2018-10-22_1233.png
 
Tan Pang Lin Dynamicweb Employee
Tan Pang Lin
Reply

Hi

Thank you for your reply.

But the customer want their own mp4 video which they will upload to DW files>images folder instead of getting from youtube.

May I know is it possible to have that?  as I had tested it does not seem to work for own video.

Thanks

Pang Lin

 

 
Karsten Thuen Dynamicweb Employee
Karsten Thuen
Reply

Hi Tan Pang Lin

May I know why that is a requirement from the customer. I am quite sure that using youtube, or another hosting service for this is very common. You can, for example, inspect the video on the site: https://www.trekbikes.com/dk/da_DK/ And see that it uses Youtube. 

Some of the great reasons for using Youtube is that they give us stability a very good result, and it is very easy to use.

 

Best regards
Karsten Thuen

 

 
Tan Pang Lin Dynamicweb Employee
Tan Pang Lin
Reply

Dear Karten

Customer had videos already in mp4 format,   they would prefer not to upload the video to youtube.

We have two customers requested to have video in mp4  format.

Hope this clarify.

If possible,  please adjust what workaround option can we have.

thanks

Pang Lin

 

 

 

 
Karsten Thuen Dynamicweb Employee
Karsten Thuen
Reply

Hi Tan Pang Lin

There may be a cultural diference here that I do not understand. Is it never possible for you to disagree with the customer? The case is that most decisions made when working with websites, must be made using some kind of "best practice". This is a especially a very important rule while working with interaction. For example how the search field works, must not be too different from how searchfields generally works. If we do not follow this rule, we will make it much harder for the user to use our website/software. And that is really bad. Sometimes this rule are also relevant for technical isues. 

The way we use background videos on Rapido, is currently, best practice as we know major players like https://trekbikes.com are using the exact same approach. So the real question here is, why are you forcing the customer to pay for a very custom functionality here? A functionality that is properly also not good for him, as using Youtube very propably will give better performance. 

Simply "The customer want´s that", is not a valid argument. Again, there may be a cultural diference here that I do not know of.  "The customer want´s it, be course Youtube is not avialble in his region", is a valid argument. And if that is the argument, we will have to do something about it:

  • Request the new functionality for Rapido
  • If you can not make the customer agree to use Youtube, then do the customization like this:
    • Make a copy of the "ParagraphContainer.cshtml" and name it ParagraphContainer__Custom.cshtml 
    • Make a copy of the Item type file "ItemType_ParagraphContainer.xml" and name it ItemType_ParagraphContainer__Custom.cshtml
    • Replace the background video implementation with the one you need
    • Again, this is not a recommeneded approach, as you have now made custom code that you will have to maintain

 

Best regards
Karsten Thuen

 
Martin Gammelholm
Martin Gammelholm
Reply

Also keep in mind, that you can upload the MP4 to Youtube and make it "hidden", and still embed it on your website. This way it can't be found searching through Youtube, only with a direct link.

Maybe this could be a solution for the customer?

BR
Martin

 

You must be logged in to post in the forum