Forum Discussion
MattSmith-d35ad
2 years agoCommunity Member
Trigger display of transcripts
As is possible with closed captions, is it possible to set a transcript to display automatically. I can't find a built in variable to control this, so I assume it isn't possible (yet!)
Best wishes...
Jürgen_Schoene_
2 years agoCommunity Member
you can simulate a user click on the transcript button with javascript
there is a limitation - the button has to be there 🠊 activate "Video Controls: Dark or Light"
(for "Show none" the overlay for transcript is not created at all)
show transcript:
document.querySelector(".video-transcript:not(.enabled)").click();
hide transcript:
document.querySelector(".video-transcript.enabled").click();
toggle transcript:
document.querySelector(".video-transcript").click();
example:
https://360.articulate.com/review/content/0efb7159-8f4e-4057-ac7b-20f4cadf2554/review
- MattSmith-d35ad2 years agoCommunity Member
Fantastic!!! Thanks for this. Will give it a go!!
Matt