emesene forum
July 31, 2010, 01:19:00 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: CACHE KEY ERRORS? NICK NOT SAVED? UPGRADE TO 1.6.2 FIRST!

REPORT ANY ISSUE HERE - PLEASE CHECK IF THE PROBLEM HAS ALREADY BEEN REPORTED FIRST -- THANKS
 
  Home   Forum   Help Search Login Register  
Pages: 1 ... 9 10 [11] 12
  Print  
Author Topic: [NEW PLUGIN] Yet another youtube plugin  (Read 12149 times)
Kreuger
Sr. Member
****

l33tness: 0
Offline Offline

Posts: 82



View Profile
« Reply #150 on: March 03, 2010, 03:20:47 PM »

Yeha the window popped up and would just go black and then my contact list would freeze and I'd have to kill emesene from the command line.
Logged
trollhammaren
Full Member
***

l33tness: 1
Offline Offline

Posts: 47


\m/

remcohaszing@gmail.com
View Profile
« Reply #151 on: March 16, 2010, 12:18:26 PM »

When I first downloaded the plugin it worked perfectly, now hardly anything works anymore for me.. Not when trying older versions either.
When someone sends a youtube link to me I do get a pop-up window about how I want to display it.
When choosing "See it in the conversation window" or "See it in a browser" simply nothing happens.
When choosing "See it in a pop-up window" I get a pop-up window with a white screen with scroll bars and a save button.
I must say I'm having problems with flash as well so I have no idea wether this has something to do with it.
Logged
karasu
Hero Member
*****

l33tness: 4
Offline Offline

Posts: 285


Noein

gustaucastells@hotmail.com
View Profile WWW
« Reply #152 on: March 16, 2010, 01:01:52 PM »

Hi!

I want to simplify this plugin (I've been a bit busy lately). Allowing to use webkit and mozembed only makes the code more unmaintainable. I'll use webkit and only use the browser option when it's not available.

I also want to simplify the "ask option" dialog.

Quote
I must say I'm having problems with flash as well so I have no idea wether this has something to do with it.

Well, all thing is flash based, so if you have problems with flash its sure this plugin won't work for you.
Logged

I a vegades... els ocells fan cagarades...
Kreuger
Sr. Member
****

l33tness: 0
Offline Offline

Posts: 82



View Profile
« Reply #153 on: March 16, 2010, 01:21:54 PM »

Quote
Well, all thing is flash based, so if you have problems with flash its sure this plugin won't work for you.
I wonder if that's why it fubar'd on me. Flash has been weird lately
Logged
karasu
Hero Member
*****

l33tness: 4
Offline Offline

Posts: 285


Noein

gustaucastells@hotmail.com
View Profile WWW
« Reply #154 on: March 16, 2010, 07:01:28 PM »

Ok. I've finally found why it freezes. It's for this modification I suggested in Controller.py

Code:
gtk.gdk.threads_init()
gtk.gdk.threads_enter()
...
gtk.gdk.threads_leave()

It makes emesene gtk thread safe, so the avatar window doesn't blow up.

I don't understand why, but this thread control makes YAYoutube plugin freeze.

The plugin only uses threads when downloading a video, but not when trying to show one...

If you test it, you can see emesene freeze in the exact point when the video is ready to be played.

It freezes with webkit and also with mozembed. Maybe some thread problem with flash?

Trying to fix it...
« Last Edit: March 17, 2010, 10:26:48 AM by karasu » Logged

I a vegades... els ocells fan cagarades...
karasu
Hero Member
*****

l33tness: 4
Offline Offline

Posts: 285


Noein

gustaucastells@hotmail.com
View Profile WWW
« Reply #155 on: March 17, 2010, 11:38:23 AM »

I've uninstalled adobe flash and installed gnash (the free alternative) and it works perfectly!  Shocked

So I assume that the linux adobe flash version is... well... crap.

I'm sorry but I can't solve this, so if you want to use this plugin with the latest version of emesene GNash must be used (http://www.gnu.org/software/gnash/)

I'll see if there is a way to detect if gnash or adobe flash are installed.
Logged

I a vegades... els ocells fan cagarades...
arielj
Administrator
Hero Member
*****

l33tness: 30
Offline Offline

Posts: 1362


globitz!


View Profile Email
« Reply #156 on: March 17, 2010, 11:48:34 AM »

I'll see if there is a way to detect if gnash or adobe flash are installed.
Check the Winks plugin, it does some ugly check, but it's something Tongue
Logged
Kreuger
Sr. Member
****

l33tness: 0
Offline Offline

Posts: 82



View Profile
« Reply #157 on: March 17, 2010, 11:30:45 PM »

Quote
So I assume that the linux adobe flash version is... well... crap.
It used to work well but the last couple of releases have been buggy.
Logged
karasu
Hero Member
*****

l33tness: 4
Offline Offline

Posts: 285


Noein

gustaucastells@hotmail.com
View Profile WWW
« Reply #158 on: March 18, 2010, 07:34:47 AM »

At least now I know it's not my fault  Cheesy
Logged

I a vegades... els ocells fan cagarades...
karasu
Hero Member
*****

l33tness: 4
Offline Offline

Posts: 285


Noein

gustaucastells@hotmail.com
View Profile WWW
« Reply #159 on: March 18, 2010, 03:50:53 PM »

Quote
Check the Winks plugin, it does some ugly check, but it's something

Thanks! Checked and used!

New version, now plugin has this behaviour:

In Linux:
With gtkmozembed or webkit and gnash : everything works (in conversation, popup and showing in firefox).
Without them: shows the video it in firefox

In Windows:
Always show the video in web browser.

In both systems you can save or ignore the video, too.

The only thing that I'm willing to fix is that when you see the video in the web browser you're not able to save it (at the same time).

It's a pity that adobe flash doesn't work anymore....
« Last Edit: March 20, 2010, 11:36:55 AM by karasu » Logged

I a vegades... els ocells fan cagarades...
trollhammaren
Full Member
***

l33tness: 1
Offline Offline

Posts: 47


\m/

remcohaszing@gmail.com
View Profile
« Reply #160 on: March 19, 2010, 12:02:31 AM »

Can't you use html5 to view video's in this plugin so you don't need flash at all? It doesn't work for all video's but at least for many of them. http://www.youtube.com/html5
Logged
Kreuger
Sr. Member
****

l33tness: 0
Offline Offline

Posts: 82



View Profile
« Reply #161 on: March 20, 2010, 09:58:57 AM »

Quote
Now plugin has this behaviour:
So is there a newer version to use?
Logged
karasu
Hero Member
*****

l33tness: 4
Offline Offline

Posts: 285


Noein

gustaucastells@hotmail.com
View Profile WWW
« Reply #162 on: March 20, 2010, 11:35:54 AM »

Quote
Can't you use html5 to view video's in this plugin so you don't need flash at all? It doesn't work for all video's but at least for many of them.

Last month I tested html5 in youtube, but it didn't work. I think that they use a privative codec with videos that firefox doesn't support (at least in linux).
Don't know (and don't care) in which status is IE.

I'm sorry but now I don't want to spend time on this as I feel html5 is too experimental as it is now. But I'm sure getting rid off flash will solve a lot of problems for this plugin.

Quote
So is there a newer version to use?

Of course! I'm sorry I didn't make myself clear... there's a new version. If you use windows it simply will open a new web browser window with the video (so nothing special).
In linux you can install gnash to be able to see the videos inside the conversation window.

You can always download the latest version here:

http://yayoutube.googlecode.com/svn/trunk/YAYoutube/YAYoutube.py
« Last Edit: March 20, 2010, 11:38:29 AM by karasu » Logged

I a vegades... els ocells fan cagarades...
Kreuger
Sr. Member
****

l33tness: 0
Offline Offline

Posts: 82



View Profile
« Reply #163 on: March 21, 2010, 03:46:06 AM »

Quote
In linux you can install gnash to be able to see the videos inside the conversation window.

You can always download the latest version here
I'll give it a try. I already have gnash anyway
Logged
Ivan!
Sr. Member
****

l33tness: 2
Offline Offline

Posts: 59



View Profile WWW
« Reply #164 on: March 24, 2010, 01:49:42 PM »

I tried this plugin, but it makes emesene crash, emesene freezes (i set «view video in the conversation window», and before crashing the video appeared in the window) and i can close it only with my virtual console (ctrl+alt+f1 > killall emesene)...

Tomorrow i'll include the output of the terminal.
I installed gnash, python-gtkmozembed.
Logged
Pages: 1 ... 9 10 [11] 12
  Print  
 
Jump to:  

TinyPortal v.1.0.6 beta 2 © Bloc
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!