How to change the button text on the embedded recorder?
Hi, Support Team,
Do we have ability to change the text on the embedded recorder using VueJS? For example, if we want to change the text to "Record New Video" and "Upload New Video", how could we do it? I looked at the parameters and it seems that we cannot do it through parameters.
-
Regardless of the SDK used you can easily change any text in the embedding by following steps here Simon: https://ziggeo.com/docs/sdks/javascript/browser-integration/localization
For example this would change the text you mentioned:
<script>
ZiggeoApi.V2.Locale.mediaLocale.register({
"ba-videorecorder-chooser.record-video": "Capture Video"
}, 10);
ZiggeoApi.V2.Locale.mediaLocale.register({
"ba-videorecorder-chooser.upload-video": "Upload Recorded Video"
}, 10);
</script>As you add this to your code it will immediately change the language. Please do keep in mind that you need to change this before the embedding is shown. If you change it after, it will not update all of the existing embeddings on the page.
Also good to point out that if you switch between languages, your changes will only be applied on the current language, not on all languages.
I do suggest checking the page above. You will be able to find the keys you are after like "ba-videorecorder-chooser.upload-video" at the bottom of the page.
If easier you can also find a link to download the current language file so it is easier for you to see all strings.
Hope this helps you :)
0
Please sign in to leave a comment.
Comments
1 comment