Closed JamesAllgood closed 2 hours ago
This should work better:
$output .= "window.RufflePlayer.config = {";
$output .= " 'publicPath': '/ruffle',";
$output .= " 'polyfills': true,";
$output .= " 'autoplay': 'on',";
$output .= " 'unmuteOverlay': 'hidden',";
$output .= " 'contextMenu': 'off',";
$output .= " 'showSwfDownload': false,";
$output .= " 'preloader': false,";
$output .= " 'quality': 'low',";
$output .= " 'splashScreen': false,";
$output .= "}";
much better thanks! Didn't know some bits needed quotes to work properly.
Im trying to remove the debug option on my website where we host ruffle
I've told the code not to show the context menu and hide it all.
I've got the following options configured but the right click menu still shows?
Ignore the output at the start