![]() |
Urgent---some 1 Plzz Help Me
problem is solved
thxx 4 ur help guys |
A thread title that reflects what you want would be a good thing. Your thread title will not get the attention of the people who would be able to help you. And "urgent" should be used if a site is down or similar, not for something you simply want.
|
Quote:
The Zshare website is nothing special with no help at all about embedding this?? The best bet would be to try and create a zshare bb code, But with some other far superior video scripts on here, Youtube HD and DIVX, why waste your time with this??? :confused: |
I agree with Lynne - this is NOT an urgent request.
Besides, some simple searching would net you these: https://vborg.vbsupport.ru/showthread.php?t=202476 https://vborg.vbsupport.ru/showthread.php?t=195884 |
i wanna do like that
when ever i post a zshare link... i dont have to post full zshare link i can post it link SRY about writting a urgent in thread title.. last time i make a thread no body replied .. i reallly need to do that :( |
You will have to make your own .php file for it then. Good luck.
|
i wanna know how can i make that php file so it can redirect my all links ?
plzz help me man :confused::confused::confused::confused::(:( |
You need to learn how to code in PHP, google it, there are tons of tutorials.
|
i made it but its not working ..
it show the player.. but its not playing the video when it redirect ... here is the example thats the php script i made but its not playing the video |
I have come to learn that the zshare playback URL changes every time you visit the page. This means that it will be very difficult to actually do this trick.
|
is there anyway i can do that ..
do u know know how to do that ? |
Go to any zshare video and view the source code of the page. You will find that in the flashvars variable, the stream URL changes every time you refresh the video. Because the URL changes, and because the URL doesn't have anything to do with the address in the browser - it will be very difficult to embed zshare videos.
The easiest way to go about it would be to use an iFrame, but those are unpredictable. The next way to go about it is to download the page code with your PHP file and then strip out everything except the video player - this is a very server intensive process and is probably not worth it. I know how to do those things, but ultimately it's not worth it for me to bother hassling with all of that. EDIT: After about 30 minutes searching on google, I found zShare360. A group of people who keep up with the API changes of zshare that want to help people embed the videos on their own websites. watch.php PHP Code:
watch.php?video=1234455555 |
thanx man ur the best..
1 more quick question.. is it goona work with flash videos only or its goona work with wmp too ? |
From the looks of it, it's flash. I don't really know, I don't use zshare. I haven't used that code either. Guess you should just try it.
|
its giving me error
|
Simply saying you get an error is not going to help us help you. You need to tell us *exactly* what you have done in order for us to help you. That means what hook location, or what exact code, or the template html, etc. Please use the code/html/php tags.
|
LOL He didn't make a complete PHP page.
Osama11, I only gave you part of the code you need. Not all of it. That's why I had the comments at the top and bottom, it said that it's missing the rest of the code. Use this article about how to make a vbulletin powered page: https://vborg.vbsupport.ru/showthread.php?t=62164 Next, you need to call the page like this: watch.php?video=570637318b45024f Without some special .htaccess settings for the apache web server, you cannot call the page it the way you did with the slash. |
lol no error
|
Move watch.php up to your forum root directory, don't put it in a subdirectory.
|
i did ..
its not playing any thing.. :( |
It was a second ago, you must have changed something in the PHP file because now the video number isn't there.
|
nope i didn't changed any thing..
|
Then you must not have recieved my code correction via PM.
|
i copy n paste the same codes u gave me in the pm..
but still its showing liek that. :( |
It plays the video for me. It might be a browser caching problem....
If you're using Firefox, hold SHIFT and press the refresh button on the toolbar. If you're using Internet Explorer, hold CTRL and press the refresh button on the toolbar. |
lol thanx bro i recived ur pm now
its working now .. how can i make that video play auto .. n is there anyway i can put that video codes on my html page i made .. not on vbulltin page ? |
I don't know how to make the video automatically start playing.
You will need a PHP page at the very least, and if you didn't want this in vBulletin then why did you ask about it in a general discussion for vBulletin? If you want to separate this from vbulletin then this is all you need in watch.php: PHP Code:
|
i try to put those codes on my own html page ..
its not showing the zshare video player |
You can't use $_GET['video'] in HTML. You also can't use "echo". You must use PHP, not HTML.
|
Your not sanitizing the input, theorectically anyone could input anything into the page you posted... XSS anyone?
|
Yeah, but there's no database interaction. The variable is just passed down to the clientside script. While the lack of sanitation could affect the end users, it would only affect the end users that follow the link with the bad input. Can you dig it?
|
All times are GMT. The time now is 02:28 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|