issues are solved with ofQTKitPlayer and if/else statement