Solved

e107 page - pass a script parameter

Posted on 2011-09-08
3
367 Views
Last Modified: 2012-05-12
We have a website that is based on the e107 platform. Normally, the pages that we create are stored in the database and are referenced like: http://www.mysite.org/page.php?123 where 123 is the page number in the list of pages.

We are looking to display several dozen streaming educational videos that are hosted on youtube. We can accomplish this succesfully by creating a page for each video that needs to be posted, but this is time-consuming and cumbersome. So, I wrote some simple java script that takes 2 parameters (the unique Youtube ID for the video and the video format wide/narrow) and builds the embed code for the video. The code works perfectly in an individual page. The idea is that if I can pass the parameters in the URL, I can use one page for diplaying dozens of videos by modifying just the link as I create it.

So, I am trying to figure out how I can pass those 2 parameters to the page.php so that the page dynmically displays the desired youtube video based on the parameters in the URL.

Any help is appreciated.  
0
Comment
Question by:bigintegration
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 36509349
Can you use the hash if you cannot use the query string?
0
 
LVL 1

Accepted Solution

by:
bigintegration earned 0 total points
ID: 37644924
I was never really able to get this to work, so I just used a pop-up window for the player, which probably ended up working out better because the video list stayed active in the background and the video popped up in front of the list.
0
 
LVL 1

Author Closing Comment

by:bigintegration
ID: 37664422
There was no other solution provided
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Node.js 11 72
How to send commands to switch via telnet programatically 15 78
Natural height and jquery 6 32
Prestashop modules custimzation 2 20
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question