Bug 487927

Summary: Youtube plugin will not play videos
Product: [Fedora] Fedora Reporter: Daniel BerrangĂ© <berrange>
Component: totemAssignee: Bastien Nocera <bnocera>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 9CC: bnocera, s.adam
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.9.0.10-1.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-28 01:20:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Berrangé 2009-03-01 14:10:11 UTC
Description of problem:
I have the totem-youtube extension installed and all available codecs I can find for playing .flv, .mp4 files, etc (tested using youtube-dl to save a film  to local .flv & play in totem).  The totem youtube plugin is able to search for movies & display thumbnails, but double-clicking on any result to play the movie brings up an error dialog. 

"ffdemux_swf: Element doesn't implement handling of this stream. Please file a bug."

On the console I can see a python exception being thrown 

Traceback (most recent call last):
  File "/usr/lib/totem/plugins/youtube/youtube.py", line 174, in on_starting_video
    mrl = "http://www.youtube.com/get_video?video_id=" + urllib.quote (youtube_id) + "&t=" + urllib.quote (re.match (".*[?&]t=([^&]+)", location).groups ()[0])
AttributeError: 'NoneType' object has no attribute 'groups'
** Message: don't know how to handle application/x-shockwave-flash
** Message: Error: Element doesn't implement handling of this stream. Please file a bug.
gstffmpegdemux.c(1440): gst_ffmpegdemux_sink_activate_push (): /play/decodebin2/ffdemux_swf2:
failed to activate sinkpad in pull mode, push mode not implemented yet




Version-Release number of selected component (if applicable):
totem-youtube-2.23.2-10.fc9.i386
totem-gstreamer-2.23.2-10.fc9.i386
gstreamer-0.10.20-1.fc9.i386
gstreamer-ffmpeg-0.10.5-1.fc9.1.i386
gstreamer-plugins-bad-0.10.7-4.fc9.i386
gstreamer-plugins-bad-extras-0.10.7-4.fc9.i386
gstreamer-plugins-base-0.10.19-4.fc9.i386
gstreamer-plugins-base-devel-0.10.19-4.fc9.i386
gstreamer-plugins-farsight-0.12.7-2.fc9.i386
gstreamer-plugins-flumpegdemux-0.10.15-2.fc9.i386
gstreamer-plugins-good-0.10.8-10.fc9.i386
gstreamer-plugins-pulse-0.9.5-0.5.svn20070924.fc9.i386
gstreamer-plugins-schroedinger-1.0.3-2.fc9.i386
gstreamer-plugins-ugly-0.10.8-2.fc9.i386
gstreamer-python-0.10.11-2.fc9.i386
gstreamer-tools-0.10.20-1.fc9.i386
phonon-backend-gstreamer-4.3.0-5.fc9.i386

How reproducible:
Always

Steps to Reproduce:
1. Install totem-youtube
2. Do search for 'bfifilms'
3. Double click on first result
  
Actual results:
Error dialog displayed

Expected results:
Video plays

Additional info:

Comment 1 Bastien Nocera 2009-04-24 13:57:38 UTC
The way to parse pages to get the video URL broke a few months back because YouTube changed their pages.

Was fixed in totem 2.24.3

Comment 2 Fedora Update System 2009-04-24 14:38:37 UTC
totem-2.23.2-15.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/totem-2.23.2-15.fc9

Comment 3 Fedora Update System 2009-04-27 20:43:00 UTC
xulrunner-1.9.0.10-1.fc10,firefox-3.0.10-1.fc10,epiphany-2.24.3-6.fc10,epiphany-extensions-2.24.0-8.fc10,blam-1.8.5-10.fc10,devhelp-0.22-8.fc10,galeon-2.0.7-10.fc10,gecko-sharp2-0.13-8.fc10,gnome-python2-extras-2.19.1-30.fc10,gnome-web-photo-0.3-18.fc10,google-gadgets-0.10.5-6.fc10,kazehakase-0.5.6-4.fc10.2,Miro-2.0.3-4.fc10,mozvoikko-0.9.5-10.fc10,mugshot-1.2.2-9.fc10,pcmanx-gtk2-0.3.8-9.fc10,perl-Gtk2-MozEmbed-0.08-6.fc10.1,ruby-gnome2-0.18.1-5.fc10.2,yelp-2.24.0-9.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/xulrunner-1.9.0.10-1.fc10,firefox-3.0.10-1.fc10,epiphany-2.24.3-6.fc10,epiphany-extensions-2.24.0-8.fc10,blam-1.8.5-10.fc10,devhelp-0.22-8.fc10,galeon-2.0.7-10.fc10,gecko-sharp2-0.13-8.fc10,gnome-python2-extras-2.19.1-30.fc10,gnome-web-photo-0.3-18.fc10,google-gadgets-0.10.5-6.fc10,kazehakase-0.5.6-4.fc10.2,Miro-2.0.3-4.fc10,mozvoikko-0.9.5-10.fc10,mugshot-1.2.2-9.fc10,pcmanx-gtk2-0.3.8-9.fc10,perl-Gtk2-MozEmbed-0.08-6.fc10.1,ruby-gnome2-0.18.1-5.fc10.2,yelp-2.24.0-9.fc10

Comment 4 Fedora Update System 2009-04-27 20:43:04 UTC
xulrunner-1.9.0.10-1.fc9,firefox-3.0.10-1.fc9,epiphany-2.22.2-11.fc9,epiphany-extensions-2.22.1-11.fc9,blam-1.8.5-9.fc9.1,chmsee-1.0.1-12.fc9,devhelp-0.19.1-12.fc9,evolution-rss-0.1.0-11.fc9,galeon-2.0.7-10.fc9,gnome-python2-extras-2.19.1-27.fc9,gnome-web-photo-0.3-21.fc9,google-gadgets-0.10.5-6.fc9,gtkmozembedmm-1.4.2.cvs20060817-29.fc9,kazehakase-0.5.6-4.fc9.2,Miro-2.0.3-4.fc9,mozvoikko-0.9.5-10.fc9,mugshot-1.2.2-9.fc9,ruby-gnome2-0.17.0-9.fc9,totem-2.23.2-16.fc9,yelp-2.22.1-12.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/xulrunner-1.9.0.10-1.fc9,firefox-3.0.10-1.fc9,epiphany-2.22.2-11.fc9,epiphany-extensions-2.22.1-11.fc9,blam-1.8.5-9.fc9.1,chmsee-1.0.1-12.fc9,devhelp-0.19.1-12.fc9,evolution-rss-0.1.0-11.fc9,galeon-2.0.7-10.fc9,gnome-python2-extras-2.19.1-27.fc9,gnome-web-photo-0.3-21.fc9,google-gadgets-0.10.5-6.fc9,gtkmozembedmm-1.4.2.cvs20060817-29.fc9,kazehakase-0.5.6-4.fc9.2,Miro-2.0.3-4.fc9,mozvoikko-0.9.5-10.fc9,mugshot-1.2.2-9.fc9,ruby-gnome2-0.17.0-9.fc9,totem-2.23.2-16.fc9,yelp-2.22.1-12.fc9

Comment 5 Fedora Update System 2009-04-27 21:36:04 UTC
totem-2.23.2-15.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing-newkey update totem'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2009-4019

Comment 6 Fedora Update System 2009-04-28 01:20:05 UTC
xulrunner-1.9.0.10-1.fc9, firefox-3.0.10-1.fc9, epiphany-2.22.2-11.fc9, epiphany-extensions-2.22.1-11.fc9, blam-1.8.5-9.fc9.1, chmsee-1.0.1-12.fc9, devhelp-0.19.1-12.fc9, evolution-rss-0.1.0-11.fc9, galeon-2.0.7-10.fc9, gnome-python2-extras-2.19.1-27.fc9, gnome-web-photo-0.3-21.fc9, google-gadgets-0.10.5-6.fc9, gtkmozembedmm-1.4.2.cvs20060817-29.fc9, kazehakase-0.5.6-4.fc9.2, Miro-2.0.3-4.fc9, mozvoikko-0.9.5-10.fc9, mugshot-1.2.2-9.fc9, ruby-gnome2-0.17.0-9.fc9, totem-2.23.2-16.fc9, yelp-2.22.1-12.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2009-04-28 01:21:40 UTC
xulrunner-1.9.0.10-1.fc10, firefox-3.0.10-1.fc10, epiphany-2.24.3-6.fc10, epiphany-extensions-2.24.0-8.fc10, blam-1.8.5-10.fc10, devhelp-0.22-8.fc10, galeon-2.0.7-10.fc10, gecko-sharp2-0.13-8.fc10, gnome-python2-extras-2.19.1-30.fc10, gnome-web-photo-0.3-18.fc10, google-gadgets-0.10.5-6.fc10, kazehakase-0.5.6-4.fc10.2, Miro-2.0.3-4.fc10, mozvoikko-0.9.5-10.fc10, mugshot-1.2.2-9.fc10, pcmanx-gtk2-0.3.8-9.fc10, perl-Gtk2-MozEmbed-0.08-6.fc10.1, ruby-gnome2-0.18.1-5.fc10.2, yelp-2.24.0-9.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.