[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

e107 page - pass a script parameter

Posted on 2011-09-08
3
Medium Priority
?
372 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

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

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

There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

656 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