how can i embed youtube video to editor
-
how can i embed youtube video to my site using URL, not embed code, i dont want to use iframe. is there any script in php? i want to paste youtube URL in my editor and play it. and also, i need a script to cut a short text (teaser) at the end of a text, for example dot. not just like this is a short news i pas... i want to be this is a short news i paste here... i use mb_str function
-
Answer:
You can http://jajodia-saket.sjbn.co/2011/06/how-to-embed-youtube-with-logoless-player-without-any-youtube-logo-on-it/ like this: <object width="516" height="387"> <param name="movie" value="http://www.youtube.com/v/8Qz1v9758W0?version=3&modestbranding=1"></param> <param name="allowFullScreen" value="true"></param> <param name="allowscriptaccess" value="always"></param> <embed src="http://www.youtube.com/v/8Qz1v9758W0?version=3&modestbranding=1" type="application/x-shockwave-flash" width="516" height="387" allowscriptaccess="always" allowfullscreen="true"></embed> </object> Replace 8Qz1v9758W0 with the id of the video you would like to embed. Regarding cutting text/showing more than a snippet, when you say you use mb_str I'm guessing you mean you have http://php.net/manual/en/book.mbstring.php and you want to change the way you cut them; check the documentation for http://www.php.net/manual/en/function.mb-strcut.php.
Mike at Stack Overflow Visit the source
Related Q & A:
- How can I embed a pic inside an email?Best solution by answers.yahoo.com
- How can I make my video play backwards?Best solution by Yahoo! Answers
- How can I watch Youtube on my psp without a computer or usb cord?Best solution by Yahoo! Answers
- How can i burn youtube videos to a disc?Best solution by Yahoo! Answers
- How can I watch youtube on ubuntu 10.04?Best solution by clickonf5.org
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.