Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odd behavior with version fix #5

Open
trythesalmon opened this issue Apr 3, 2014 · 1 comment
Open

Odd behavior with version fix #5

trythesalmon opened this issue Apr 3, 2014 · 1 comment

Comments

@trythesalmon
Copy link

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 :)

@trythesalmon
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant