Trigger display of transcripts Aug 24, 2023 By Matt Smith 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
Matt Smith Author Judy Nollet 8 months ago08/24/23 at 1:39 pm (UTC) 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 :-)
Phil Mayor 8 months ago08/24/23 at 1:52 pm (UTC) I don't believe there is a variable to do this at the moment
Judy Nollet Hero Matt Smith 8 months ago08/24/23 at 1:56 pm (UTC) 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. 😂
Jürgen Schoenemeyer 8 months ago08/24/23 at 3:17 pm (UTC) 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
Matt Smith Author Jürgen Schoenemeyer 8 months ago08/29/23 at 7:53 am (UTC) Jürgen Schoenemeyer 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 Fantastic!!! Thanks for this. Will give it a go!! Matt
5 Replies
This post was removed by the author
Yes, this will display captions. But looking to display the new transcipt feature doing similar :-)
I don't believe there is a variable to do this at the moment
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. 😂
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:
hide transcript:
toggle transcript:
example:
https://360.articulate.com/review/content/0efb7159-8f4e-4057-ac7b-20f4cadf2554/review
Fantastic!!! Thanks for this. Will give it a go!!
Matt