You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can anyone give me any tips on how to fix this please? I'm replacing some existing code that used gtkmozembed with pyomxplayer as it now needs to play videos instead of show webpages. The screen is divided up using gtk. I'm a little new to python still so bear with me :)
The code originally initialised gtkmozembed with:
self.moz=gtkmozembed()
Then loaded the URL further down the code. However if I try this with pyomxplayer, e.g.:
self.omx=OMXPlayer()
I get the .groups() error that I fixed by following the suggestion here: #3
I can get it to work by shoving all the arguments and file name into the initialization string, but I can't figure out how to then refresh it with a new file when playback has finished, if that makes sense?
Just looking for any guidance on usage etc - if anyone's got an example script which plays multiple videos in succession by passing filenames to it, that would be amazing :)
The text was updated successfully, but these errors were encountered:
Meant to say if I leave the initialize out, it complains that it is not a gtk widget when it tries to draw the tables... I guess I need to wrap this in GTK somehow?
Can anyone give me any tips on how to fix this please? I'm replacing some existing code that used gtkmozembed with pyomxplayer as it now needs to play videos instead of show webpages. The screen is divided up using gtk. I'm a little new to python still so bear with me :)
The code originally initialised gtkmozembed with:
Then loaded the URL further down the code. However if I try this with pyomxplayer, e.g.:
I get the .groups() error that I fixed by following the suggestion here: #3
I can get it to work by shoving all the arguments and file name into the initialization string, but I can't figure out how to then refresh it with a new file when playback has finished, if that makes sense?
Just looking for any guidance on usage etc - if anyone's got an example script which plays multiple videos in succession by passing filenames to it, that would be amazing :)
The text was updated successfully, but these errors were encountered: