Jump to content

Changing the video link when changing language

Recommended Posts

  • Replies 3
  • Views 960
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

58 minutes ago, LuckyFilms said:

I made a website...with a german and english language option. However, we have two trailers (one in each language) and don't know how to have them switch when changing to english.

In summary, you'll need to add both videos to the page and then use some CSS to hide one or the other, conditional on the language that the user has selected.

The CSS will depend on they solution you have used for the bilingual feature (for example a third party tool like Weglot automatic translation, or manual translations and some custom code).

Please provide a link to the page if you'd like forum users to try to help you further.

Did this help? Please give feedback by clicking an icon below  ⬇️

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
  • 11 months later...

The same issue here and using Weglot. I am unable to comprehend the rationale behind the complexities involved in enabling or disabling video based on the language being translated.
Many videos on YouTube speak about the captions...where is this caption?

Edited by VIOO
-
Link to comment
On 2/16/2023 at 4:34 AM, paul2009 said:

In summary, you'll need to add both videos to the page and then use some CSS to hide one or the other, conditional on the language that the user has selected.

The CSS will depend on they solution you have used for the bilingual feature (for example a third party tool like Weglot automatic translation, or manual translations and some custom code).

Please provide a link to the page if you'd like forum users to try to help you further.

Did this help? Please give feedback by clicking an icon below  ⬇️

Paul, please give me an example of the CSS that needs to be added.
This should be added to the page as block & Code? Or in the Website tool --> Custom CSS ?

Thank you for your time and explanations.
 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.