LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-12-2007, 08:22 AM   #1
jlo_sandog
Member
 
Registered: Jul 2005
Location: USA
Distribution: F10 (x86_64)
Posts: 549

Rep: Reputation: 32
CNN Live video


Hi

I found a way to see the live CNN videos. You need three things.
(http://www.cnn.com/video/live/live.html?stream=stream1)
1. Install User Agent switcher
https://addons.mozilla.org/en-US/firefox/addon/59

2. Add to it a mac user agent string.
http://www.useragentstring.com/pages...gentstring.php
http://developer.apple.com/internet/safari/faq.html

3. Assuming you use mplayerplug-in, download the source to your home folder.

http://mplayerplug-in.sourceforge.net/download.php

and edit ~/mplayerplug-in/Source/plugin-setup.cpp

In the file, look for "NPError GetValue(NPPVariable variable, void *value)"

Below it find the string that has "Windows Media Player Plugin" and add Flip4Mac to the end of the string. "Windows Media Player Plugin / Flip4Mac Plugin 2.1.3.10"

also, update the Quicktime line to state "QuickTime Plug-in 7.4.1".

Then ./configure, make, and su make install.

4. To test, go to the CNN site using the mac string and live video should work.

Good Luck

Edited to reflect Quicktime change.

Last edited by jlo_sandog; 06-18-2008 at 03:45 AM.
 
Old 10-16-2007, 07:36 AM   #2
berserker88
LQ Newbie
 
Registered: Oct 2007
Distribution: Zenwalk 4.8
Posts: 3

Rep: Reputation: 0
Thanks for this.

I have a question about modifying the plugin-setup.cpp file.

The only line I find below "NPError GetValue(NPPVariable variable, void *value)" has "Windows Media Player Plugin".

Is that the correct line? So the new line should read "Windows Media Player Flip4Mac Plugin"?
 
Old 10-16-2007, 05:29 PM   #3
berserker88
LQ Newbie
 
Registered: Oct 2007
Distribution: Zenwalk 4.8
Posts: 3

Rep: Reputation: 0
I think I almost have it but I'm receiving a

Code:
PLUGIN ERROR:
Oops! You need the latest version of the QuickTime Plugin to view this video. Download it now.
What do I need to do to modify the QuickTime code?
 
Old 10-16-2007, 06:57 PM   #4
berserker88
LQ Newbie
 
Registered: Oct 2007
Distribution: Zenwalk 4.8
Posts: 3

Rep: Reputation: 0
Finally got this working. I had to put "Flip4Mac" after "Quicktime" rather than "Windows Media Player".
 
Old 10-17-2007, 01:56 AM   #5
jlo_sandog
Member
 
Registered: Jul 2005
Location: USA
Distribution: F10 (x86_64)
Posts: 549

Original Poster
Rep: Reputation: 32
I updated the original post to reflect what works.

Last edited by jlo_sandog; 03-02-2008 at 03:32 PM.
 
Old 04-02-2008, 03:14 PM   #6
acrididae
LQ Newbie
 
Registered: Apr 2008
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by jlo_sandog View Post
I updated the original post to reflect what works.
Thanks for the instructions above. I followed the above instructions and I am able to watch CNN videos, but not the live ones. Do you have any tips?

I'm running Ubuntu 8.04 Hardy Heron Beta 32-bit and 64-bit (two different computers).

Last edited by acrididae; 04-02-2008 at 08:28 PM.
 
Old 05-13-2008, 05:01 AM   #7
technosapien
LQ Newbie
 
Registered: May 2008
Posts: 9

Rep: Reputation: 0
Quote:
Originally Posted by acrididae View Post
Thanks for the instructions above. I followed the above instructions and I am able to watch CNN videos, but not the live ones. Do you have any tips?

I'm running Ubuntu 8.04 Hardy Heron Beta 32-bit and 64-bit (two different computers).
I wasn't able yet to get this working in the browser (not sure but there might be something up with the plugin) but I am able to view live stream directly in mplayer:

mplayer -playlist http://www.cnn.com/video/live/cnnlive_1.asx

To get the stream URL I used adblock plus. When the CNN Live Video site loads, in the upper left click the "Block" tab. ABP will open a dialog with the feed URL pre-filled into the "add new filter" box. Copy the feed URL from there and pass it to mplayer as a playlist. (Don't block unless you want to - cancel the ABP dialog).

Enjoy.
 
Old 05-27-2008, 09:52 AM   #8
Balarabay1
Member
 
Registered: Feb 2006
Location: Florida
Distribution: SUSE 11.0/x86 KDE
Posts: 334

Rep: Reputation: 30
Tried that 3 step process, BUT

When I go to edit the file, there is NO Windows Media Player Plugin string listed??? I have mplayer-plugin already installed, and the MAC Agent.

In the file, look for "NPError GetValue(NPPVariable variable, void *value)"

Below it find the string that has "Windows Media Player Plugin" and add Flip4Mac to the end of the string. "Windows Media Player Plugin / Flip4Mac Plugin 2.1.3.10"
 
Old 05-28-2008, 09:31 AM   #9
mindracer
LQ Newbie
 
Registered: May 2008
Posts: 1

Rep: Reputation: 0
Post

Please let CNN know that we cant use their live video out of the box. They require you to install a plugin in Windows and maybe MAC.

Please use this form to let them know you miss CNN Live Video on Ubuntu/Linux:
cnn dot com/feedback/forms/form9d.html
 
Old 06-07-2008, 07:18 PM   #10
jlo_sandog
Member
 
Registered: Jul 2005
Location: USA
Distribution: F10 (x86_64)
Posts: 549

Original Poster
Rep: Reputation: 32
Balarabay1

You have to compile mplayerplug-in from source. Uninstall mplayerplug-in. Then follow the directions.
 
Old 07-26-2008, 01:20 AM   #11
bzzzzz
LQ Newbie
 
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by jlo_sandog View Post
In the file, look for "NPError GetValue(NPPVariable variable, void *value)"

Below it find the string that has "Windows Media Player Plugin" and add Flip4Mac to the end of the string. "Windows Media Player Plugin / Flip4Mac Plugin 2.1.3.10"

also, update the Quicktime line to state "QuickTime Plug-in 7.4.1".

Then ./configure, make, and su make install.
Maybe I'm doing this wrong. Forgive me as I am still a newb.

I have two main problems. After installing the user agent switcher I do not know how to add it to the mac user agent string. I tried both links (the first didn't work for me), the second is rather useful in telling me what works and what doesn't but I do not see how I can add anything to the user agent string.

I downloaded the mplayer-plugin-3.55 to my desktop from sourceforge and made the changes that you recommend. However when I try to ./configure it seems to be hunting around for files that aren't present

"checking for pkg-config... /usr/bin/pkg-config
checking for mozilla-plugin mozilla-xpcom... configure: WARNING: mozilla-plugin not found
checking for firefox-plugin firefox-xpcom... configure: WARNING: firefox-plugin not found
checking for seamonkey-plugin seamonkey-xpcom... configure: WARNING: seamonkey-plugin not found
checking for xulrunner-plugin xulrunner-xpcom... configure: WARNING: xulrunner-plugin not found
checking for libxul... configure: WARNING: libxul not found
checking for iceape-plugin iceape-xpcom... configure: WARNING: iceape-plugin not found
configure: error: Unable to find mozilla or firefox development files"

Any guidance would be very much appreciated.

Thanks
 
Old 10-31-2008, 11:26 AM   #12
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
same issue

I see the last post is from quite a long time ago. I'm having the same issue you are with not having the firefox development package installed. I don't see one for Fedora 9 and for firefox 3 anywhere. All I can find is firefox-devel-2*.rpm online where * is any combination of numbers pertaining to a version number of firefox 2. Anyone have anything to offer on this dead & unsolved thread?


Quote:
Originally Posted by bzzzzz View Post
Maybe I'm doing this wrong. Forgive me as I am still a newb.

I have two main problems. After installing the user agent switcher I do not know how to add it to the mac user agent string. I tried both links (the first didn't work for me), the second is rather useful in telling me what works and what doesn't but I do not see how I can add anything to the user agent string.

I downloaded the mplayer-plugin-3.55 to my desktop from sourceforge and made the changes that you recommend. However when I try to ./configure it seems to be hunting around for files that aren't present

"checking for pkg-config... /usr/bin/pkg-config
checking for mozilla-plugin mozilla-xpcom... configure: WARNING: mozilla-plugin not found
checking for firefox-plugin firefox-xpcom... configure: WARNING: firefox-plugin not found
checking for seamonkey-plugin seamonkey-xpcom... configure: WARNING: seamonkey-plugin not found
checking for xulrunner-plugin xulrunner-xpcom... configure: WARNING: xulrunner-plugin not found
checking for libxul... configure: WARNING: libxul not found
checking for iceape-plugin iceape-xpcom... configure: WARNING: iceape-plugin not found
configure: error: Unable to find mozilla or firefox development files"

Any guidance would be very much appreciated.

Thanks
 
Old 11-05-2008, 12:10 AM   #13
spo00n!
LQ Newbie
 
Registered: Jul 2005
Distribution: Sidux, gOS 2.9
Posts: 2

Rep: Reputation: 0
CNN.com/LIVE Live video player

To watch live video on CNN.com/LIVE, open the player by clicking the Live Video link, click on "Switch to Flash BETA player" if the "standard" player opens. That's it. The Windows Media Player dependent live video is on the way out. No more silliness. Of course, you need flash installed.
 
Old 11-06-2008, 01:47 AM   #14
harry2006
Member
 
Registered: Aug 2006
Location: /hawaii/honolulu/downtown
Distribution: Fedora 10[Cambridge] and Ubuntu 9.04[Jaunty]
Posts: 201

Rep: Reputation: 30
spo00n! is right, if you can get that done so easily theres no point going thru the hassle of doing the hell of steps mentioned earlier, though I do appreciate that work b'coz it works.
I 'm pretty much sure ppl are aware of hell of websites that give you live TV streaming that includes all top global channels, and to watch this the only thing needed is flash player, I personaly use these to watch TV online. Just google out "live tv channels". Thanks.

Last edited by harry2006; 11-06-2008 at 01:56 AM.
 
Old 11-08-2008, 11:57 AM   #15
acrididae
LQ Newbie
 
Registered: Apr 2008
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by spo00n! View Post
To watch live video on CNN.com/LIVE, open the player by clicking the Live Video link, click on "Switch to Flash BETA player" if the "standard" player opens. That's it. The Windows Media Player dependent live video is on the way out. No more silliness. Of course, you need flash installed.
Where do I go to click "Switch to Flash BETA Player?"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
video streaming or making CNN Videos work?? lenny45 MEPIS 17 11-04-2008 06:58 AM
Mplayer plugin can't play video from cnn.com el amigo* Fedora 4 02-22-2007 09:04 AM
It would be nice to see CNN.COM video feeds?? Balarabay1 Linux - Software 12 12-02-2006 12:05 AM
Firefox + cnn video stebal SUSE / openSUSE 7 10-27-2006 12:47 PM
Cnn.com/Video & Linux macewan General 9 06-25-2005 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration