Skip to main content
Question

How to create custom button for launching course in fullscreen

  • May 8, 2025
  • 2 replies
  • 33 views

i was trying to make custom button to launch course in fullscreen mode but it does not seem to work at all. First of all dcbo-course-player always displaying a course no matter i set showpreview = false. Second issue the dcbo-course-player does not respond to any event i send to it. I have send many event to widget, it replies to me but does nothing.

[DEBUG] [CommandBus] Sending command 'go_fullscreen' to 'widget123'
SDKKernel-v1-latest.bundle.min.js:1
[DEBUG] [CommandBus] Got reply data: {"fullscreen":false} for command 'go_fullscreen' sent to 'widget123'

2 replies

dklinger
Hero III
Forum|alt.badge.img+11
  • Hero III
  • May 9, 2025

Can I suggest something?

And this may sound non-technical and anecdotal?

One of the only buttons you probably don’t want to be messing with in a course player is the start button to launch a course. Maybe a little bit of color…maybe change the title with the localization tools…but trying to add a button to a key event that launches the LMS into listening for events is one that is finicky. Adding a button to trigger those events is asking for trouble.

 


  • Author
  • Newcomer
  • May 9, 2025

Can I suggest something?

And this may sound non-technical and anecdotal?

One of the only buttons you probably don’t want to be messing with in a course player is the start button to launch a course. Maybe a little bit of color…maybe change the title with the localization tools…but trying to add a button to a key event that launches the LMS into listening for events is one that is finicky. Adding a button to trigger those events is asking for trouble.

 

No I do not need to change course player. I just want to have button that fits well into my design that i can click and it will launch player in full screen.