Forum Discussion
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
Matt
- Jürgen_Schoene_Community 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-d35adCommunity Member
Fantastic!!! Thanks for this. Will give it a go!!
Matt
- MattSmith-d35adCommunity Member
Judy Nollet
Set the Player.DisplayCaptions variable to True, and the captions will display.
Yes, this will display captions. But looking to display the new transcipt feature doing similar :-)
- JudyNolletSuper Hero
Oops. Sorry I scanned the text too quickly and answered about closed captions instead of transcripts. I deleted the errant comment.
Note to self: drink coffee before answering Forum questions. 😂
- PhilMayor-b4ca0Community Member
I don't believe there is a variable to do this at the moment
- LalMathews-a2e6Community Member
This is really useful , thanks.