Traceback (most recent call last):
File "/Users/oaaburto/Documents/example.py", line 115, in PlayPause
self.OpenFile()
File "/Users/oaaburto/Documents/example.py", line 161, in OpenFile
self.mediaplayer.set_nsobject(int(self.videoframe.winId()))
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
I am receiving the next error:
I think that is a problem related to this line:
self.videoframe = QMacCocoaViewContainer(0)
Could you please confirm that?