Dynamic page problem

i am making a dynamic page to embeding videos, but i want help

i want something like this
http://sdafdsfds.comuf.com/videos/nowvideo.php?id=[COLOR=“#FF0000”] 3viebgyywmc7w[/COLOR]

i creat
now can any one help me that how i can make this dynamic and it detects the id of the video and play the video pleaseeeeeeeeeeeeeeeeeeeee help me

here is working demo : http://www.webvideoshare.com/videos/nowvideo.php?id=3viebgyywmc7w

<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
	<link rel="shortcut icon" href="http://www.webvideoshare.com/favicon.ico" type="image/icon" /> <link rel="icon" href="http://www.webvideoshare.com/favicon.ico" type="image/icon" />
		<title>http://embed.nowvideo.eu/ - WebVideoShare.com</title>
		<meta charset="utf-8">

	<link rel="stylesheet" href="http://www.webvideoshare.com/css/style.css">
	<link rel="stylesheet" href="http://www.webvideoshare.com/css/navigation-narrow.css">
	<script src="http://www.webvideoshare.com/js/plugins.js"></script>
	<script src="http://www.webvideoshare.com/js/script.js"></script>

		<!-- close #header-top-container -->
		<div id="header-gradient">
	<div id="main" role="main">	
		<div class="bread-crumbs"><span>You are here:</span>  <a href="../index.php">Home</a> &rsaquo; Videos</div>
		<div class="content-container">
			<div class="container_24" style="width:1024px">
       <div class="grid_16 suffix_1" style="width:1024px">
								<script type="text/javascript"><!--
	google_ad_client = "ca-pub-2419487760378836";
	/* Raheel */
	google_ad_slot = "4037408005";
	google_ad_width = 728;
	google_ad_height = 90;
	<script type="text/javascript"
</script>							</center><br>
								<div style="margin-left:5%;float:left;margin-top:20px;">
								<script type="text/javascript"><!--
	google_ad_client = "ca-pub-2419487760378836";
	/* 160 600 wide skyscraper */
	google_ad_slot = "9935456174";
	google_ad_width = 160;
	google_ad_height = 600;
	<script type="text/javascript"
</script>								</div>
								<div style="margin-left:10px;float:left;margin-top:20px;">
								<iframe width="540" height="400" frameborder="0" src="http://embed.nowvideo.eu/embed.php?v=&width=600&height=480" scrolling="no"></iframe>
								<p style="background-color:#CC0000; width:530px;height:50px; padding:5px; font:10px Verdana; color:#FFF;"><b> Disclaimer:Webvideoshare.com is only videos embedded website.Every video is found here from Third party videos hosting website .We donot host any of this video part.Video Part is embedded here from Youtube,Dailymotion and other video hosting website.Contact to these video hosting website for any video removal.</b></p>
								<div style="margin-left:10px;float:left;margin-top:20px;">
									<script type="text/javascript"><!--
	google_ad_client = "ca-pub-2419487760378836";
	/* 160 600 wide skyscraper */
	google_ad_slot = "9935456174";
	google_ad_width = 160;
	google_ad_height = 600;
	<script type="text/javascript"
</script>								</div></center>

    <div class="clear"></div>
			<div class="clearfix"></div>
		</div><!-- close .content-container -->
	</div><!-- close #main -->
	<div id="footer-gradient"></div>
		<div id="footer-base">
			<div id="footer-base-content">

			<div class="clearfix"></div>
			</div><!-- close #footer-base-content -->

Add these lines at the top of a php file:


Now access that page and add this to the url ?id=cuckoo, and hit enter.

i try this but its showing
array(1) { [“id”]=> string(6) “cuckoo” }

i want to make a page with swfobject.js and then make it dynamic .
as http://www.webvideoshare.com/videos/nowvideo.php
now when i put id of nowvideo in the end of the url it does’nt detects the video.

this is an example and its working fine

please help me

Where in the code provided do you expect that ID to be outputted on your page? I don’t see where you are even attempting to use it.

To start off, you never answered my original reply, so why don’t we start there?

page is using iframe, and when we put id of video in the very end of the url player detects the video automatically

Copy/Paste the iframe and the code that does that, as from the code I’ve seen, there is no way that happens.

i dont know , http://veedio.info/dailymotion.php here you will find embeded player of dm
now when http://veedio.info/dailymotion.php[COLOR=“#FF0000”]?url=k3g6iiAEAuyt1N3TPDF[/COLOR]

put this video works , i did the same make a dynamic page, etc but only player show it does not detect the id in the url

So what exactly is the problem as appending the id allowed the video to load… so I’m not sure what you are claiming is wrong…

i only want to embed video , but when i manuaaly embed any video of dm,youtube,etc i creat a page for it and then put embed code in that page. this is waisting of time, then i hear about swfobject.js as this site is using this. with this just make page and embed the player , then when you want to share a video just put the id of the video and no need to make a new page for it etc etc

Well with swfobject, it is a JavaScript solution, you simply need to build the URL to the movie and give it to the swfobject loader in JavaScript.

Take the following code from their documentation:

<script type="text/javascript">
    swfobject.embedSWF("myContent.swf", "myContent", "300", "120", "9.0.0");

You will be replacing the myContent.swf with the correct movie file.

However, if you only have a link to the movie and not a swf, you will have more work ahead of you. You will need to use something like jwplayer which costs money to use commercially

thanks i really understand , but i want to embed dailymotion video, then could you explain that how i can use dailymmotion player with this code

<script type="text/javascript">
    swfobject.embedSWF("myContent.swf", "myContent", "300", "120", "9.0.0");

this is a forum bbcode for dailymotion

<center><div><object width="700" height="530"><param name="movie" 


name="allowFullScreen" value="true"></param><param name="allowScriptAccess" 

value="always"></param><embed src="http://www.dailymotion.com/swf/{param}&v3=1&related=1" 

type="application/x-shockwave-flash" width="700" height="530" allowFullScreen="true" 


You can post your dailymotion by [daily]4132xi[/daily]

how we can make a simple php page with this code and how it will be accessable with url

i mean www.domain.com/???:slight_smile:

Unfortunately, I know nothing about how dailymotion defines their videos, whether they are already swf files or mpeg, mp4, etc. You would need to know that before you could possible integrate anything using it.

Replace [param] with the ??? from the URL

and the peoples knows abt this doesn’t reply , i am in this problem from last 20 days , but no sucess …

but who cares :frowning:

please tell me total path , like it can be domain.com/id ???

or it will be use thrugh dynamic page

Okay, say you have domain.com/id=???

You will want to replace all instances of [param] by reading and sanitizing the $_GET[‘id’] value