First start after fresh build lets player die
Steps to reproduce
Steps to reproduce:
1. Clone or git clean oder rm
2. mvn clean install
3. start opencast
4. Add event so that you can open theodul player with a video
Player dies after a couple of seconds.
Player does not die.
Workaround (if any):
Restart opencast. After the second start of opencast this erroneous behaviour does not appear anymore.
This ssems to be a little more complex and is a little hard to analyze. My current findings are that some of the modules/plugins of the player are not complete. They are not containing all files that they should have. If the missing file is the main.js of a plugin this does not create any error, as requirejs simply does not load the plugin. As some plugins (like controls or video) are needed to start the player the loading fails. If the modules are not that important the functionality is only missing (like displaying keyboard shortcuts or slide previews) This don not only happen at the first start, but the probablility of not loading a complete plugin gets lower the more Opencast is restarted.