Developer forum

Forum » Development » Problems with embedding videos on pages.

Problems with embedding videos on pages.

Yasharth Tahiliani
Reply

Hi,

We have tried to embed a simple video on one of our website templates using the simple html video tag. This is causing problems and the video does not work on some mobiles. 

Has anyone faced a similar problem? Is there a solution to this?

The code we are using is:

  <video controls="true">
      <source src='@GetValue("Item.Video")' type="video/mp4">
      <source src='@GetValue("Item.Video_Source_2")' type="video/webm">
  </video>

 


Replies

 
Lars Sørensen
Reply

Hi Yash,

Did you find out, whether it made a difference to change the setup, so that video was not behind windows login?

BR.

Lars

 
Yasharth Tahiliani
Reply

Hi Lars,

Yes it was because of the site requiring authentication. I can't believe that it didn't strike me before asking you. 

Apologies, and thank you so much for clarifying this :)

Yash.

 
Lars Sørensen
Reply

No worries:)

 

You must be logged in to post in the forum