[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 378
  • Last Modified:

e107 page - pass a script parameter

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
bigintegration
Asked:
bigintegration
  • 2
1 Solution
 
Michel PlungjanIT ExpertCommented:
Can you use the hash if you cannot use the query string?
0
 
bigintegrationAuthor Commented:
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
 
bigintegrationAuthor Commented:
There was no other solution provided
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now