Question from Jacob!

This is a discussion on "Question from Jacob!" within the Web Page Design section. This forum, and the thread "Question from Jacob! are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 19th, 2007, 20:37
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Question from Jacob!

Okay, I am building a website for a musician. Of course she wants a media player. No problem, I can build one in flash link it though an xml document. The problem is that media player can not cut off on every page.

I DO NOT want to use frames, iframes, or anything that would have bad SEO. Does any one have an ideas? I am kinda thinking Ajax. But I am not sure wither that would work, as I don't know Ajax.
Reply With Quote

  #2 (permalink)  
Old May 20th, 2007, 00:00
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Question from Jacob!

Ajax would really be the only decent solution. It would look like a Flash site when you'd navigate it (loading spinners and whatnot), but it would be plain text. It just wouldn't be very smooth if JS was disabled.
Reply With Quote
  #3 (permalink)  
Old May 20th, 2007, 01:54
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Question from Jacob!

Yeah, but that would also be horrible SEO...lol. Come on Ryan I expect something really smart from you...lol.
Reply With Quote
  #4 (permalink)  
Old May 20th, 2007, 10:25
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 23
Posts: 1,649
Blog Entries: 1
Thanks: 0
Thanked 4 Times in 4 Posts
Re: Question from Jacob!

Ajax is the only solution (I can think of). But it's actually very simple with jQuery. I can do it in under 10 lines of Javascript...

If you have a template: (ie.: a part of the site that is common to every page)
1. put the flash player in there
2. create a div in which the content should be updated ('content div')
3. with javascript, fetch all links on the page and modify their behaviour so that:
3.a. Use ajax to fetch the content (only the content)
3.b. Use the response to update the content div.

If you don't have a template (ie.: every page is completely different)
1. wrap the entire page in a div ('page div')
2. put the flash player outside this wrapper (or create it via javascript)
3. with javascript, fetch all links on the page and modify their behaviour so that:
3.a. Use ajax to fetch the entire page.
3.b. Use the response to update the page div.

Send me a link!
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)

Last edited by spinal007; May 20th, 2007 at 10:31.
Reply With Quote
  #5 (permalink)  
Old May 20th, 2007, 13:06
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Question from Jacob!

Quote:
Originally Posted by JacobHaug View Post
Yeah, but that would also be horrible SEO...lol. Come on Ryan I expect something really smart from you...lol.
I should've said more: It's perfect for SE's. If JavaScript is disabled (like a crawler), they'll see a bunch of standard pages. If not, it will be Flash-like. If a user has JS disabled, the site will be a bit choppy in the fact that the video will start over on each link clicked.

Come on, Jacob... you should know better than to expect anything but the best from me
Reply With Quote
  #6 (permalink)  
Old May 22nd, 2007, 15:50
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,946
Blog Entries: 1
Thanks: 0
Thanked 29 Times in 29 Posts
Re: Question from Jacob!

Honestly in this case just pop a new window with the player so it is always accessible. I think in this case since it will be user requested that is more than acceptable.
__________________
I hate IE 6. Just sayin....
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #7 (permalink)  
Old May 22nd, 2007, 18:35
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Question from Jacob!

Yeah, I was thinking the same thing at first, but I don't like popups If CNN.com had a video player in the same window as the articles, I'd use their site way more.
Reply With Quote
  #8 (permalink)  
Old May 23rd, 2007, 17:44
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,946
Blog Entries: 1
Thanks: 0
Thanked 29 Times in 29 Posts
Re: Question from Jacob!

Then use an iFrame or something.
__________________
I hate IE 6. Just sayin....
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #9 (permalink)  
Old May 24th, 2007, 05:56
Reputable Member
Join Date: Dec 2005
Location: Texas
Age: 19
Posts: 328
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Question from Jacob!

can you not use a php include? wouldnt that be better than an iframe? Just have the info where the links go to be in the incluse ad he can still have the music player where he wants to put it. Usually in a corner i hope. Better SEO no? Wi wi, poo poo, and all that french stuff.
Reply With Quote
  #10 (permalink)  
Old May 24th, 2007, 10:49
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Question from Jacob!

The problem is that the media player will start over when you move to another page. It's not an include issue, it's a static include thing.
Reply With Quote
Reply

Tags
media player, question

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hi, I'm Jacob! JacobHaug Introduce Yourself 22 Oct 21st, 2007 20:17
here ya go jacob razuel Flash & Multimedia Forum 6 May 24th, 2007 14:59


All times are GMT. The time now is 13:31.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43