lynk
 
 
 
 
19. September 2005

VideoPop Plugin

Add video popups to your posts and pages
 
Latest release (16. February 2007): VideoPop 1.3.1  Download

 

New in 1.3.1

Added full support for Wordpress 2.1
Added option (in file) to display admin page for users other than admin
Added instructions to add own dimensions to the plugin page
past changelogs & versions

 
 

Features

This plugins allows yout create links that open videos in a popup window.
Video management via the control panel. You may add videos by upload or by referencing them with a URL.
Works with WordPress 1.5.x, 2.0 and 2.1

 
 

Supported formats & dimensions

.3gp  -> Quicktime Player
.asf   -> Windows Media Player
.avi   -> Windows Media Player
.mp4  -> Quicktime Player
.mpg  -> Windows Media Player
.mov  -> Quicktime Player
.rm   -> Realplayer
.swf  -> Flash 8 plugin ( limited to the default videos dimensions below)
.wmv  -> Windows Media Player

 

160 x 120
320 x 240
640 x 480
720 x 540
450 x 252 [16:9 - 1.78:1]
480 x 260 [16:9 - 1.85:1]
720 x 405 [16:9 - 1.78:1]
720 x 390 [16:9 - 1.85:1]

 
 

Samples

Proin lectus massa, Quicktime Sample acinia eget, lobortis non, placerat vitae, nulla. Nulla facilisi. Cras eu quam. Phasellus turpis arcu, condimentum ut, pellentesque id, tincidunt quis, roaming zombies libero. Nam hendrerit tortor at risus tempor malesuada.
 
 

Install & Upgrade

Upgrade to 1.3.1:
Just replace the files
 

Install:
Drop videopop_plugin.php in your wp-content/plugins/ directory.
videopop.php goes in the wp root directory (the one wp-config.php is lying too).
 

Upload the files. Activate the plugin in the Plugins Section.
 

Open the WP admin panel Manage->My Videos and copy&paste the javascript/php code at the bottom of that page in the header.php of your current theme.
Now you should be ready to add VideoPop links by clicking “Add VideoPop” on top of your write/edit screen.
 
For further instructions read videopop_howto.txt (included in download)
 
 

Add your own dimensions

This is a guide to add your own video dimensions if the ones provided are not sufficent. Note: If you upgrade the VideoPop plugin in the future, you need to make the changes again!!
 
You have to edit two files.
 
1. videopop_plugin.php located in folder wp-content/plugins/
 
Open the file and find line 590 or search for the term “one each line”.
Each option line represents one dimension, the first one looks like this
 
<option value=”160“‘.$this->setOptionSelected(‘lynkvp_size’,’160‘).’>160 x 120</option>
 
copy this line from the file and paste it below the last option line.
 
You now have to change the parts I colored in the example above.
The two red numbers, 160 in the example, is a unique ID for the dimension.
Every option line has to have a different ID! Choose a number that has not been used in one of the other lines and replace both 160 with that number. 
The green part in the above example is what will be displayed in the dropdown in the admin.
Change it to something you will recognize related to your new dimension. 
Save and upload the file.
 
2. Open videopop.php located in wp main folder
 
Look out for the line “//dimension block start” and find
 
$a_sizes['160']['w'] = ‘160′;
$a_sizes['160']['h'] = ‘120′;
 
Those are the actual dimensions for the ID 160 from the example above. 
‘w’ (width) is 160 px and ‘h’ (height) is 120 px
 
Copy those two lines below the block and change both 160 to your unique ID, then change the width and height according to your new one. 
Save and upload.
 
You should now be able to choose your added dimension from the admin dropdown. I hope the popup shows correctly, I haven’t tested this :)

 
 

Notes on streaming Video

My quick & dirty research regarding streaming video produced the following results:
In generael VideoPop is ready for streaming. Streaming doesn’t depend on the way it is embedded but on the
way the file(s) is produced and served.

- For steaming Quicktime have a look at that page. Quicktime streaming server is required.
- For Streaming Windows Media and other formats take a look at this page. This explains how to create the necessary files.
- Streaming realmedia with the rtsp protocol is not possible with VideoPop, it seems.

Consult you search engine of choice for further information.

 
 

Display image before your VideoPop links

Download one of the images below (right-click on image: “Save Image as…”) and upload it to your server.
 

Add this to the style.css file of your current theme and change the URL:


.lynkvp {
background: url(http://www.yourdomainx.org./path_to_image.gif) no-repeat center left;
padding-left: 35px;
}

 
 
            
 
 

    172 Responses to “VideoPop Plugin”

  • Shadow

    Hi Marcus,

    You keep coming up with the excellent plugin ideas :) Thanks yet again.

    Having two problems with this one so far though.
    1. There was some white space on line 1 of the plgin file which you might want to get rid of in the download right before the opening

  • Shadow

    Let me try again…[continued]

    Number 2. An error message appears after trying to upload a video. In my post.php I now see this message at the bottom of the screen
    Warning: Invalid argument supplied for foreach() in /home/*****/public_html/*****/wp-content/plugins/videopop_plugin.php on line 201

    Thanks for sharing your ideas Marcus :)

    Shadow

  • Jem

    great plug-in but Im having a couple errors,

    Warning: file_get_contents(/home/.neema/jem10th/jembrotherhood.com/wp-content/videopop/videopopdata.txt): failed to open stream: No such file or directory in /home/****/wp-content/plugins/videopop_plugin.php on line 199

    Warning: Invalid argument supplied for foreach() in /home/****/wp-content/plugins/videopop_plugin.php on line 201
    Add VideoPop

  • Just a Sidekick…… » Sidekick 的網摘: 2005-10-28

    [...] lynk » VideoPop Plugin This plugins lets you create links that open videos in a popup window. Video management like upload via the control panel. tags: wordpress wordpress plugins [...]

  • domp

    Great job, thank you for this ;)

  • The Journeyler » Blog Archive » lynk » VideoPop Plugin

    [...] lynk » VideoPop Plugin Ok here is a plug in that would do pop-up video just like I wanted to do with the Total it up report… I might have to update that page in the experimental process of installing this plug in. [...]

  • marcus

    Hi Mike,
    eine nähere Beschreibung des Fehlers oder der Fehlermeldung wäre ganz hilfreich.

  • Mike

    Sorry, Marcus, selbstverständlich hast Du Recht. Leider ist meine Fehlerbeschreibung nicht sehr aussagekräftig, denn sowohl mein IE als auch Firefox zeigen nur beim Versuch eine Video-Datei upzuloaden die Fehlermeldung “Die Seite kann nicht angezeigt werden”.

  • marcus

    Hi Mike,
    I answer in english because I want to keep it understandable for everyone.
    How large is the video you uploaded? If it is larger then 8MB or the time you need for the upload exceeds 30 seconds, could cause the error.

  • Blogging Pro China » WordPress Plugin: VideoPop

    [...]   VideoPop,提供快捷的视频文件播放功能。 by Scott | posted in WordPress Plugins Trackback URL | Comment RSS Feed Tag at del.icio.us | Incoming links [...]

  • isotropy

    Hi, I can’t seem to get this working. Every time I select a video to upload, it looks like it’s uploading it, and then once it’s done, it says ‘please select a video’ again… like it hadn’t done anything.

    Any ideas why this is happening?

    Thanks! :)

  • marcus

    isotropy, are you talking about “Please choose a Video” in the yellow “Notice” area? Does the upload take a while, like at least 5 seconds?

  • isotropy

    Yes, it’s in the notice area… I get that message after a few seconds of uploading. once the file is uploaded, the page refreshes with that message.

    Any ideas?

  • kit

    i’m quite confused. for all intents and purposes this should work fine. i compress the video, everything is fine, i set it up properly, it uploads just fine, and when it finishes uploading it tells me it’s “done!”

    but when i go to “add videopop,” the dropdown list has no videos whatsoever.

  • Mike

    Hi marcus !

    No, the file-size is not the reason. I tried with small and larger videos, but the empty page is always present when i try to upload a file. I have no idea what to do to fix this problem.

  • fehnman

    Hi, I’m wondering if this plugin works with wordpress residing in a subdirectory. I tried all I could, but was unable to *view* any video. The button is there, vids upload, links get created, windows pop up — but no video. :(

    Any ideas? :)

  • marcus

    @ kit
    But does the video appear in the Video section below the upload? Does it play when clicking the link?
     

    @ mike
    I don’t have an idea either. sorry!
     

    @ fehnman
    can you provide a link to your blog with the popup window? it should work in a subdirectory because the video is called relative to the videopop.php file.

  • Engless’s Lie » Blog Archive » *WordPress Plugin: VideoPop

    [...] VideoPop,提供快捷的视频文件播放功能。 [...]

  • kit

    marcus:
    nope, it doesn’t appear in the video section below the upload after it finishes. does it need to be a particular codec to work properly? what would cause it not to appear?

  • isotropy

    any idea what’s causing my problem, marcus? :)

  • Lars Arendt

    Videopop has a sizing problem when asked to do 450×244 [16:9]. It sets the height of the quicktime player to 16 pixels. Otherwise thanks for a nice plugin.

  • Harald Walker

    How about using getid3 (http://getid3.sourceforge.net/) to determine the dimensions and meta-data of the video files?

  • glytch

    is there any way to get around the 30 second waiting time limit for uploading a video file?
    can’t I manually upload a file via ftp and use the url to that instead?

  • marcus

    @ glytch
    There are ways to change the “max_execution_time”.
    The plugin sets the time to 3000 seconds but that might not work depending on your server’s configuration. There are other settings that might affect file upload too.
     

    There is a way for a manual upload I think.
    Upload a small video of the same type as your large video.
    Get this videos’s name by using the link to the video in the admin. Something like 1102234568.mpg .
    Upload your large video via FTP in “wp-content/videopop/”. Now rename the large video to the name of the small dummy video, delete/rename the dummy video before. That should work but haven’t tried. Maybe you could provide some feedback if you try it that way.
     

    I would still recommend trying to change the configuration settings.

  • glytch

    I edited the php file to change the time from 3000 seconds but that didn’t work and I dont have access the file that controls the php timeout on my server so I tried your suggestion and it works!!

    thanks so much for thinking of that, it works a treat!

  • Cwillem

    Hi, this is a realy cool plugin, thanks a lot!

    Can you tell me how to make it visible for user level 1
    Thanks

  • David

    Your plugin works fine on my mac but both Firefox and IE crashes on PC. The movie is encoded in H.264 .mov

    Two people have reported problems. They are both using Quicktime 7.0.3
    Here is a link to my film. Click on the first url:
    http://bengtsson.net/wordpress/?p=535

  • Dave

    Marcus,

    I would suggest adding the option to specify a local file path. While the “upload a small file” idea works in a pinch, it would be much nicer to be able to upload via ftp and then specify a location for the file. I would also love to see the videos not be renamed. This would allow me to set my ftp client to upload a large number of vids while I am out to lunch and then come back and only need to set the file paths and add them as opposed to having to “WORK” ::gasp:: and do each individually.

  • Brett A. Noe

    Great plugin! I have some skill with PHP, so I fixed a few minor problems:

    Changed 16:9 size to 448×252. Previous size was not actually 16:9.

    Fixed code so 16:9 works correctly. No longer shows 16 pixel QT area.

    Added 2 line breaks to Video Management area so list of videos displays correctly.

    Also, if you use the Tiger Style Administration plugin, go into videopop_plugin.php and search for #lynkvpBox1. Just below that you will see the CSS position info for the “Add VideoPop” button on your “Write” page. Change it to read top:26px; and left:340px; and the button will appear correctly.

    If you would like Marcus, I can send you the modified pages. Let me know.

    Thanks for doing the hard part,

    Brett A. Noe

  • Joseph W K

    Great Plugin! However i had to dance around the video upload issue myself and opted for the time being with the KB dummy video then switch filenames. You are oh so close to putting the final icing on this cake. I agree with one of your commentors above, it would be a nice alternative to FTP any vid to the folder and then be able to assign it normally.
    Have to say though, this is a sure winner and huge benefit to WP and all those who will come upon it.

  • Scott

    Would it be possible to use this plugin but have just a url for the video. I am considering using http://www.streamload.com for hosting my videos. Could an option for video location be added.

  • evilutionary virtual log » Blog Archive » Roundhay House 1st Film

    [...] This is a test for the VideoPop plugin I’ve added for posting videos that appear in a pop-up window. [...]

  • North of the Stupid Line » Blog Archive » Testing VideoPop

    [...] G has very kindly installed some nifty plugins for WP2 for me, and this is one of them, VideoPop.  It now allows me to do this: [...]

  • todd herrold

    hey this is a really great plugin from a usability standpoint. I’m running it on Xoops and can’t get the videos to play. The install went fine, I actually didn’t try to upload video but just put a URL to a video already on my site. it shows up in the manage section and in the dropdown. The code gets added to the blog entry, but when you click on the link, it gets a 404 for this url:

    http://www.hotdogblog.com/modules/wordpress/(tammairanslip)lynkVideoPop(320,‘1135991766′);

    The only strange thing is that when adding the javascript to the header.php, the directions say add it just before the . In the xoops module, there is no . This is what the header.php contains:

    getVar(‘name’).’ entries” href=”‘.XOOPS_URL.’/modules/’.$xoopsModule->getVar(‘dirname’).’/feed/” />
    getVar(‘name’).’ comments” href=”‘.XOOPS_URL.’/modules/’.$xoopsModule->getVar(‘dirname’).’/feed/” />
    ‘;
    $GLOBALS["xoopsOption"]["xoops_module_header"] = $xoops_module_header;
    include_once(XOOPS_ROOT_PATH.”/header.php”);
    $xoopsTpl->assign(‘xoops_module_header’, $xoops_module_header);
    ob_start();
    ?>

    /”>

  • Hchicha’s BloG » Blog Archive » VideoPop Plugin for Wordpress

    [...] Le plugin est à télécharger là Et la video du M3alem d’Essaouira, je l’ai trouvée via El Gnawi SkybloG. [...]

  • Ronald

    Is it also possible to play mobilephone movies from Nokia? *.3gp

  • MilleSabords

    Hi,
    when i activate this plug-in and the when i go to Manage Menu and clic on My Video submenu, i get the options for an other plugin WP-backup.

  • Daniel

    Just a quick note…

    You should include in your “How-To” file, that you need to ACTIVATE the plug-in before you can go to the WP control panel -> Manage -> My Videos.

    Took me a bit to realize that, but maybe I’m just not used to WordPress yet.

  • noahd

    first off – thank you so much, this is great!

    questions:
    i changed the code to autoplay=false, then decided to change back, but even though i uninstalled and reinstalled the plugin, it still doesn’t autoplay. any ideas?

    also:
    when i click “manage-video”, the shoutbox admin opens instead. if i deactivate the shoutbox, then the “manage- video” link works. can i change some code or something to fix that?

    thabks again,
    noahd

  • Joseph

    Glad to see that December update: Thanks so much!
    Just want to pass along that i get an IMMEDIATE upload when using URL to add VIDEOS but still experiencing a delay of sorts when uploading a video off my desktop directly. Not sure why but really is no issue since i can simply FTP upload video to my server then pass the URL to your plugin. It uploads like that “Instantly”.

    You can see your plug-in in action below.
    Check the 2nd post that’s titled “Mobile Phone Alert Technology” CellAlert
    http://www.fontaineferrypark.us/wordpress/

  • Rob

    Please can you add the ability to set custom video dimensions. Having the presets doesn’t really make sense to me, wouldn’t it be easier to just manually add the video dimensions or at least have that as an option?

    Anyway, thanks for the great plugin.

  • Maurizio P

    Hi i installed this plugin, and it was working perfeclty, but i just can’t understand why in firefox it opens the popup window but state that the “video is not available”, while in IE works perfectly…is that ever happened before or i’m messing with something? Thanks, and btw great plugin!

  • jarret

    Hi Marcus,

    I’m having a bit of a problem with the plugin and am wondering whether you have a solution. I installed everything as per the instructions and everything looks fine. Videos uploaded ok and are showing up in the list but for some reason no movies show up in the dropdown list ie. there’s no code for me to copy.

    Any pointers would be very welcome.

    thanks very much

    Jarret

  • Mike

    Can someone help? Is there a way that I can make it so that if the visitor clicks a thumbnail picture it will pop up the video in a new window?

  • Justin

    Hi Marcus,

    Thanks for the plugin as I’ve seen some samples, but I’m having some difficulty getting it to work. I’ve tried uploading from my local machine and also via URL; My video list get’s populated and when I try to add the video to a post by copy/pasting the code, it does and doesn’t do two things:

    1. It shows it to be a link, but does not function as a link unless I add a space between ‘href=”javascript:*space*lynkVideoPop…’ then it will function as an actual link.

    2. It seems that the ‘lynkvp’ ID # is not appending to the URL path of the video file. Popup works but I get a 404 page not found error.

    I’ve tried renaming as per prior posts suggested I’ve tried small and large files, but to no avail.

    Any help would be greatly appreciated. Thanks again.

  • vickyfish

    thanx for the great plug-in. and i like the dec update so much. it works well except that the .avi files cannot be loaded (i uploaded them thru URLs). .wmv and .rmvb work perfectly. so would u please suggest how this can be fixed?

  • yuri

    Hello
    This is a great plugin, but I’m trying to hack it for stream video without success. Look this tutorial:
    http://www.spartanicus.utvinternet.ie/streaming.htm
    What I need to do?
    Thank you!

  • 입명이

    .lynkvp
    {
    background: url(Image Url) no-repeat center left;
    padding-left: 35px;
    }

    This will work IE.

  • Jelto

    Hi,
    Do you think it’s possible to protect some videos by a password ?
    Because i would like to protect some just for family or friend not everyone.
    Thks.

  • Seek3r

    I have noticed that m4a files cause quicktime to crash. Has anyone had any luck getting this to work?

  • The Unlawyer

    [...] This is a test of the VideoPop plugin for WordPress. [...]

  • David G.

    Thanks for the plug-in. It was just what I was looking for. You made my day!

  • el tiki

    aloha,
    ist es denn wirklich nötig, gleich den ganzen wp-content folder auf zu chmod777 zu setzen?! sonst hätt ich das plugin ja gerne …

  • Andrei

    Hey,

    Great plugin. Is there a way to rate these videos? by stars? and have a most popular etc. and for others to submit their videos?

    Thanks,

    Andrei

  • rose

    why it wont work inSWF ?? how come you didnt include that?

    butr great plugin

  • daniel

    Is there any way to display the videomanage section for a none-admin user?

  • Video Plugin at ChatSci

    [...] Nice little video plugin I found, quite easy to install, although it needs you to edit the header.php file. [...]

  • Joe

    Hey Marcus,

    How could i make the popup window to be resizable?

  • Chris

    Hi,
    the plugin works well, but I want streaming video. Can you tell me where I must change he preferences to do so?

    greets Chris

  • NiteCloud

    Really useful plugin. Had some trouble setting up the link properly, but when I used the “add videopop” function in the admin menu it became very clear what I was doing wrong =P.

    Would definitely like to see further development if there is somebody willing to expand on it.

  • Roman

    Hello, what about 3gp Format ?

  • marcus

    Ok, time for some answers.

    # 3gp format
    I will include it in the next version. As far as I know, Quicktime is the only player supporting 3gp currently.

    # why it wont work inSWF
    I don’t know. stupid! It’s easy to implement and very useful. I just didn’t think about it. Will be included in the next version.

    # rating & passwort protection of videos
    I won’t implement it, sorry.

    # streaming video
    I will look into this.

    # custom video dimension
    I will look into this, but will not make it in the next release.

  • Mack

    Hi — I’ve found this to be a great plugin for playing .wmv files but,\ after completing a full download of .mpg files, instead of playing I get a message that “The playlist format is not recognized.” Any idea why I’m getting this error on .mpg files?

  • Lane

    Hey, good plugin. I like. I’m having one problem with permissions though. The uploaded video is given 600, which my apache server won’t serve out. I’m wondering if you can add in a chmod to 644 after your upload. I might pick through the code and do it myself, but I thought I’d mention it here. Hasn’t anyone else had this as a problem? My hosting account certainly won’t play it until I’ve changed the permission manually.

  • Lou

    Excellent plugin! Is there an option that can be used for audio files?

  • Jack Jack

    Does this plugin work with Wordpress 2.0.1? I cannot get the Add Videopop dropbox on my write/edit screen at all. I copied and pasted the text into my theme’s header.php above the closing head tag. I followed all the directions but can’t get it to show up.

    Everything else works. I activated the plugin in my plugin list and uploaded a video. I just need to be able to add it to my posts. GRRRRRRRRRRRRRRR

  • Iceberg

    Hi! The videopop works great in IE, but I noticed that the video isn’t playing in Firefox (the audio is coming through fine). Any suggestions?

  • Martin

    Firstly many thanks for your great job Marcus, video pop really made my life easer :)
    Though there were little problems with upgrading.
    Appreciate your work,
    Keep on.
    Regards :)

  • Lazaro

    Hello, I have some problems for streaming an .avi video with 52 MB of size, any other have the same problem? How I could solve this?

    Thanks

  • Colin

    Has anyone had any luck getting the Manage/My Videos tab to show up for non-admin users? Pls help! Thanks!

  • Pace McCulloch

    Thanks, I’ve been looking for a better way to present video, and yours is great. One note, to those that are going to try it out, you can’t use the rich text editor to paste your link. You need to turn that option off in the user area. Thanks for the great plugin!

  • Robin

    Thumbs up for this plugin. I find it very useful.
    Thanks

  • Grace

    Hi marcus, thank you for this.
    I’m not able to make it work.

    here is what i am doing >>

    1. uploading a video i want in manage > my video section.
    2. Go to write post.
    3. clip on add/videopop
    4. select the video i want
    5. copy the code
    6. go back to my post and paste the code there

    … when i review my post, there is a link but not leading no where…

    what am i doing wronmg :( ?

    thanks for your help.

  • Computerfriend

    Just a hint to anyone writing plugins . . . it helps a lot more if you take the same genius for organizing code and organize your feedback. Answer your critics, help those who have questions, don’t just let them ask question after question and never answer. Answer every question, no matter how dumb. It just frustrates people to leave them hanging with no solutions. It’s ok to not have a solution, but at least tell them that you don’t know.

  • Griff

    Hi there, I love the plugin and I’m looking to have the link to the popup image to be not text but rather an image 250×250 that looks like a video player. I can’t seem to find the spot in the plugin where I can add the image source. Any suggestions? Thanks.

  • Computerfriend

    Here is some code I used to link a photo to my video using videopop. See if this helps– just substitute your own code in the right places . . .

    When you break that down, you see the first part is the VideoPop code for your video that came from the “Add VideoPop” button that shows up while you are writing your WordPress blog article.

    Directly after that you have an

  • Computerfriend

    hmm, well it didn’t allow my code to appear in the window. I guess that is part of the problem with cheap help.

  • Kareldc

    Hello,

    I’ve installed the plugin and uploading works but i’m not getting the link in my write/post page to insert the video.

    create/edit a post. You should see a link on top -> “Add VideoPop”.

    Any hints?
    Karel

  • Antonia

    Uploading doesn’t seem to work and if I upload via FTP, the plugin doesn’t see anything. Is there something I’ve missed?

  • Kareldc

    Is it also possible to use your plugin and send files over ftp-php and not http-php?

    My server only allows http-php files as large as 4 mb… and http is not as stable and uses all the memory of the server while sending.

    Cheerios,
    Karel

  • ns

    Looks like a graet work, I browsed around for the best video plugin for wp and ended here.
    But got a fopen() error (provider doesnt alow the use of this), I saw somebody having the same problem with a flicker plugin, and got around it ???
    Not being a hacker myself, I can’t but wait and see.

    regards ns

  • Griff

    I love this plug-in. Thanks! Maybe an option for next version that lets you associate a screenshot/thumbnail of the video.

  • Videoblogger » Blog Archiv » Videoplugins für WordPress

    [...] VideoPop Plugin This plugins allows yout create links that open videos in a popup window. Video management via the control panel. You may add videos by upload or by referencing them with a URL. [...]

  • JLo

    You said,

    “Open the WP admin panel Manage->My Videos and copy&paste the javascript/php code at the bottom of that page in the header.php of your current theme.”

    I find that code, but not sure where to paste it inside my wp-blog-header.php

    Looks like this:
    wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.");
    }

    $wp_did_header = true;

    require_once( dirname(__FILE__) . '/wp-config.php');

    wp();
    gzip_compression();

    require_once(ABSPATH . WPINC . '/template-loader.php');

    endif;

    ?>

  • JLo

    Sorry, beginner in all this

    hmmm the top part of the code didn’t come out right…let me post it again:

    CODE STARTS HERE: wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.");
    }

    $wp_did_header = true;

    require_once( dirname(__FILE__) . '/wp-config.php');

    wp();
    gzip_compression();

    require_once(ABSPATH . WPINC . '/template-loader.php');

    endif;

    ?>

  • JLo

    okay…it didn’t come out…basically…i dunno where to stick the code in the header..

    There is no /header section

  • Joe

    Hey Marcus,

    Can you make another plugin look like this one but play inside the post because some visitors has popup blocker and therefore, they cannot open popup vid :-(

  • marco

    hi,

    i have the same problem like Lane (above) with file-permissions after uploading videos. they are set to 600 (644 is required for playing the videos) for the videos and 750 for the video-folder… i changed this manually, but that is circular.

    does anyone have a solution?
    best regards,
    marco

  • Steven Luscher

    For anyone wondering why Manage > My Videos is not accessible for Editors, Authors, and Contributors, it’s because that section, by default, is enabled for Adminisrator level users only.

    To change this, find the file videopop_plugin.php, and change the number “9″ to a lower number:

    add_submenu_page(‘edit.php’, $this->a_lang['menu_my_videos'], $this->a_lang['menu_my_videos'], 9, ‘videopop_plugin.php’,array($this,’displayForm’));

    ie. when I change “9″ to “6″, the “My Videos” menu will show up for an Editor-level user.

  • My Israel Question - 12thharmonic Web Services

    [...] VideoPop [...]

  • harry

    Hi,
    I have installed the plugin and make a test movie.wvm file. When I click te link, my javascript gives te following error:

    Javascript URL thread: “javascript:lynkVideoPop(320,’1153766875′);”
    Error:
    name: ReferenceError
    message: Statement on line 1: Reference to undefined variable: lynkVideoPop
    Backtrace:
    Line 1 of unknown script
    lynkVideoPop(320, “1153766875″);

    I use Opera 8.5
    How can I make this working please?

  • The Translation Project | Likoma

    [...] Niloufar Talebi’s translations of Iranian poetry (www.thetranslationproject.com). Beautiful example of Video Pop Plugin using both QuickTime and Windows Media Player. features [...]

  • Jimy

    The necessary plugin (:
    It is established easily and perfectly works.
    Thank u so much!

  • Yotsume

    Hi is it possible to get the code so that the video button can be shown on a page just like it can be shown in a post? I am now making a video gallery and would love the button to auto generate like it does in my posts. So what is the code and where would I have to insert it?

    Thanks for the awesome plugin!

  • Grant W Laird Jr.

    Cool plugins.

    What if I dont want popup video? I am sure there’s a script for it too.

    Any suggestion?

    gwlj

  • Grant W. Laird, Jr. Blog » Wordpress Plugins

    [...] VideoPop – It is not exactly like Google or YouTube Video Plugins but it will help you automatically set up video and it will pop up nicely. It required little code. (Copy and paste) There’s more video plugins (Google, YouTube, etc.) — click here. [...]

  • Colya

    I have installed the 1.3 plugin. Unfortunately, when I click on one of the links that has been generated by VideoPop, I do not get the expected pop-up video, instead an error is generated.

    Any ideas?

    A post where this is happening is at:

    http://www.colya.com/?p=78

  • Portal WordPress » VideoPop

    [...] Este plugin permite que você crie links para abrir vídeos em janelas popup. Gerenciamento dos vídeos via painel de controle do WordPress (veja imagem de exemplo). Você pode adicionar vídeos por upload ou apontar a URL do vídeo. [...]

  • Pete

    Hi Marcus,

    I have exactly the same problem as Frehnman above:

    “tried all I could, but was unable to *view* any video. The button is there, vids upload, links get created, windows pop up — but no video. :(

    http://flashfighters.com/blog/?page_id=9

    Can you please help?

  • Pete

    I forgot to mention:
    I’m using WordPress 2.0.3
    The Videos even load into the popups (It says transfering data at the bottom of the window for a while, then done), but they just don’t start playing nor can I start them manually. Everything stays black, no audio and no progressbar too.

    Cheers for your help and any suggestions

  • Tobias

    Hi, I have a problem using your plugin in firefox. When I’m setting a WMV video to be displayed at 320px, in Firefox it will display only the left half of the video in the visible area of the window, with the other half black. In IE7 it works fine, ie centered video, in IE the controlbuttons are also shown, while they aren’t in FF. In a bigger window size it’s also centered in FF. I tried to play around with the css you’re using in the php file but to no avail. I suspect there’s a relation to the width/height variable array handling, but I thought you might have a better idea. This is happening on the latest German edition of wordpress. Thanks for a reply!

  • kk

    Answer to Pete, Grace, Frehnman and others was given by Pace McCulloch above. Thanx Pace coz I was having the same problem!

    “One note, to those that are going to try it out, you can’t use the rich text editor to paste your link. You need to turn that option off in the user area. Thanks for the great plugin!”

    This solved the “button appears in the post but it isn’t a link” problem

    Thanx for the great plug, Markus

  • More WP Plugins « Online Marketing Tips

    [...] * VideoPop: Create links that open a video in a popup window.Upload and manage your videos via the admin control panel. Add the links in your write/edit editor by copy & paste from a dropdown box on the same page. Supported formats & dimensions: [...]

  • a flaming youth » Blog Archive » Viper’s Video Quicktags / Wordpress

    [...] Wordpress 에서 동영상 삽입 태그를 쉽게 쓸 수 있는 플러그인 Viper’s Video Quicktags 입니다. 전에는 VideoPop 을 사용했었는데, 주소를 플러그인에서 사용하는 임의의 DB에 넣은 후, 포스트 쓰기에서 다시 불러와야 하는 번거로움이 있었습니다. [...]

  • 圣光与william同在 » Blog Archive » 几个WORDPRESS插件

    [...] 官方页面:http://www.lynk.de/wordpress/videopop/ [...]

  • Roger

    Hi I’m using this plugin and it works really good, except when I try to upload a big video. (about 5 MB)

    Whit little ones

  • cali2lille » Blog Archive » VideoPop Plugin

    [...] Site de l’auteur [...]

  • Roger

    Hi, I’m using this plugin and It works good, but when I try to upload a File bigger than 2 MB, it returns this message to me : Please choose a Video or enter an URL

    Can anyone help me ? maybe something related with timeout ?

    Help me please.

  • UEbas

    Hello
    See error please
    http://www.uebas.com/blog/

    The pop is down
    HELP ME!

  • WordPress New Plugins & Themes » VideoPop Plugin for WordPress

    [...] Plugin Author: Marcus Plugin Website : HERE [...]

  • Chris Merriman

    I’ve been looking for a plug in like this for a while. I originally tried inserting some (IE only) html rollover code for a similair effect – it didn’t work within wordpress blogs.
    Your solution meets my needs perfectly, thank you…

  • Parneix

    Hi Marcus,

    I’ve installed videopop plugin on WordPress 2.0 It will successfully upload .avi, .wmv and .mp4 of 2Mo, 4Mo, 6Mo. Passed that point, I’m unable to uplaod anything. My question is quite simple: IS THERE AN UPLOAD LIMIT associated with this plugin.

    Thanks a lot,

    Parneix

  • scott offord

    After publishing and viewing the popup link in my site, the video doesn’t open… instead, the whole site opens in a small popup window.

    And suggestions?

    I’ve tried 1 and 0 for the $lynkvp_full_link setting.

    Scott

  • Darren Hudson

    great plugin, but the url to the id is not show on the admin screen. if i get it from the txt file in the videopop directory and paste it in, no problems. or i take it from hovering over the link

    is this how it works? doesn’t quite work if u link to a video direct (u have to for larger films).

    “Now you should be ready to add VideoPop links by clicking “Add VideoPop” on top of your write/edit screen” – ?

    any ideas? thx

  • Darren Hudson

    found the solution buy editing the page or post needing the video

    thx

  • Plugins utilizados at FACTA ET VERBA

    [...] VideoPop [...]

  • Christian

    Hi Marcus, great plugin. Exact the stuff, that i was looking for. is there any way to put a link on an image to a video popup-window? and the small videobutton.gifs on my site are not shown in a firefox browser.
    Thank you for the work!
    Christian

  • David Crowley

    Marcus,
    Thanks for all your great work. What a time saver. I hope all the demands above have not discouraged you and hope you will add more features in the future.

    With appreciation,
    David

  • The Unlawyer » The Unlawyer At One

    [...] For all my moblogging picture uploads, I use Photopress Plugin. Videos are managed by VideoPop. [...]

  • lausse

    Hello!

    Trying to figure whats wrong – I have installed sucessfully at my blog aplausse – but not at cogito.

    “The VideoPop files could’t be created with “fopen()” on your server. The function could be disabled by your webhost or another restriction is in place. Ask your host”

    When I ask the host they say that fopen() is on.

    The diffrence in the system config is following

    Working at this WP 2.04: http://
    web08.talkactive.net/phpinfo

    Not working at this WP 2.02: http://linux2.citynetwork.se/phpinfo.php

    Any ideas? Could it be the PHP version 4.3.2 contra version 4.3.10

  • pedward

    hi Marcus, Not sure what the problem is, but when I upload a video, its says done, but nothing shows on the My Videos list or comes up when I hit the add video button.

  • The Kid

    Hey Marcus,

    KILLER PLUG-IN! Love it! Noticed that when upgrading and testing against the latest versions of Firefox, the plug-in will no longer “stream” and none of the controls appear for Windows Media Player (yes, I am trying to stream a WMV). This worked in prior versions of Firefox (you saw controls and content was streamed) and, of course, in IE 6 and 7 it always worked perfectly.

    To note, if you wait, the content will be download in its entirety and then play. But, without seeing anything happening in the popup for a while and without the MediaPlayer controls there, it appears that nothing is happening.

    Any ideas why this would have changed? Anyone else?

    Example: http://www.davewolf.net/2006/06/27/the-cienfuegos-a-bahamian-adventure/

    Thanks!

    – Kid

  • The Kid

    Hey all… Corrected my issues (above). Hope this helps some other Firefox (1.5 – 2.0) users out there. This install allows the MS MediaPlayer ActiveX control to be called and instantiated via Firefox…

    http://www.iol.ie/~locka/mozilla/plugin.htm#download

    File name: npmozax.dll (Must be placed in the Mozilla \plugins dir., however, you can install the plugin using the link above. It works with MP10 and MP11.)

    I can now stream and see the MP (MP10 and MP11)controls in the VideoPop window when using Firefox. Of course, Firefox users coming to the site and playing without this installed will not get a good experience, but at least the “fix” has been found and is known.

    I will post a blog article about it and trackback.

    – Kid
    http://davewolf.net

  • Christian

    Hi Marcus,

    is it easy for me as a non-programmer to add hd-resolution (720p = 1280×720 1.85:1) into your php-script?

    Cheers,
    Christian

  • All Tips and Tricks » 9 Video Wordpress Plugins at a Glance

    [...] 3. VideoPop: this plugin allows you to create links to videos which open in a popup window. It supports a lot of video formats and dimensions. [...]

  • Amber

    I’m trying to delete the VideoPop plugin and my FTP or my cPanel will not let me delete the videopopdata.txt file. Both programs say permission denied when I try to delete. Is this an issue with the file itself or my program?

  • Rusty Smith

    Anybody know why I would get this:

    No input file specified.

    When I click on a VideoPop link?

    You may see it here:
    http://www.cadc.auburn.edu/soa/index.php/website-faq/

    I have this working like a charm on another install, but I am beating my head against the wall trying to figure out this one might be different…Thanks in advance for any clues anyone may offer!

  • Geoff Richardson

    Thank U so much for the plugin. So far it works like a charm.

    Before I just had a photo hyper linked to the mov. Worked fine on MACS. But tried on a PC and it wouldnt stream, it had to DL first.
    Bashing my head tring to find a solution and found yours.

    Thank you very much for sharing.

  • gio

    This is exactly what im looking, a plugin with a .3gp support so i can upload videos from my phone. thank you for this plugin.

  • Bob

    Thanks for this brilliant plugin! For anyone who wants to know how to replace the text link with any image it is a very simple process. All you need to do is replace the link text with this:
    so the whole link to the popup would look like this:

  • Bob

    Ok that comment didn’t display the code, so i’ll just say it instead. All you need to do to link to a video using an image instead of text is replace the link text with a link to an image source. Have a look at this link for some help: http://www.htmlcodetutorial.com/images/_IMG_SRC.html

  • Carolina Vigna-Marú

    [...] os excelentes Adhesive, Akismet, My Category Order, PHP Exec, VideoPop e o WordPress Database Backup, s atualizando conforme o [...]

  • jen

    Hi – I’ve been using your plugin and love it! Thanks for building it for all of us.
    I was wondering if it was possible to do two things:
    1 – center the popup browser
    2 – change the size of the bwoser window (not the movie) so that it is the same size as the movie. (I don’t want to see any black spacing around the movie.
    Is this an easy thing to modify?
    Any help would be much appreciated, and thank you again for the great plugin!

  • Jeff Hopkins

    Hi there!

    I’m really excited about this plugin…would like to see it in action on my site, but can’t get it working.

    I’ve followed installation instructions…and keep getting these posts:

    Draw The Pirate

    Any thoughts? Much appreciated!

    Jeff

  • Des

    Everything installed great, but when I go to upload video I get this mesasge in Firefox “The connection to the server was reset while the page was loading.” Not sure why.

  • Ben

    Excellent plugin Marcus. Do you have any plans to support .flv files?

  • Margie

    I adore this plugin and hope I can get some assistance so I can make it work.

    The installation and setup went perfectly, but now I can’t get my urls to produce videos. The link takes me to the pop-up screen, it says it’s connecting and ready, but there is no video to show.

    I hope this is an easy one. Here is the url where I am testing this out: http://arihestfans.com/?page_id=138

    Thanks!

  • Strafverteidiger München

    Thanks for the Post.

  • Chris Merriman

    Any chance of you including embedding YouTube links in the plug in?
    I’ve recommended your plug in to a couple of people, but they were hoping for YouTube functionality as well.
    Not really sure why, I just embed the code manually, but thought I’d mention it.

  • Joel Lewis

    This seems to be broken with my install of the new Wordpress 2.2. Has anyone else had the same problems?

    JGL

  • Joel Lewis

    Aha, I found the problem. I had previously edited the addition to the header.php file from:

    javascript/php to include in your header.php:

    function lynkVideoPop(vpsize,vpid){
    url = ‘/videopop.php?vid=’+vpid+’&url=’;
    xwidth = vpsize+110; xheight = (vpsize/1.3)+94;
    lvp = window.open(url,”,’top=100,left=100,status=0,location=0,width=’+xwidth+’,height=’+xheight+”);
    lvp.focus();
    }

    to

    function lynkVideoPop(vpsize,vpid){
    vpid = vpid + “&”;
    url = ‘/videopop.php?vid=’+vpid+’url=’;
    xwidth = vpsize+110; xheight = (vpsize/1.3)+94;
    lvp = window.open(url,”,’top=100,left=100,status=0,location=0,width=’+xwidth+’,height=’+xheight+”);
    lvp.focus();
    }

    As the & next to the URL function was NOT strictly XHTML compatible, according to:

    http://validator.w3.org/

    This broke the plugin.

    I did another change, escaping the & character in pure javascript –

    function lynkVideoPop(vpsize,vpid){
    vpid = vpid + “\x26″;
    url = ‘/videopop.php?vid=’+vpid+’url=’;
    xwidth = vpsize+110; xheight = (vpsize/1.3)+94;
    lvp = window.open(url,”,’top=100,left=100,status=0,location=0,width=’+xwidth+’,height=’+xheight+”);
    lvp.focus();
    }

    This keeps the plugin working, and maintains XHTML compliance.

    Cheers,

    JGL

  • Reaper

    Hi, cool looking plugin, but before I try it can anyone tell me if this will affect my bandwidth if I only link to external videos (such as those located on external storage sites)

    This is very important because I don’t have a lot of bandwidth available and have experienced problems in the past.

    Thanks!
    Reaper

  • Martino

    Nice work man!
    Simple and easy.. love it!
    Thanks! :)
    Martino

  • Vic

    This is a great plugin. This type of is priceless for the new kid on the block.

    Thanks

    Vic

  • Betty

    Thanx for the plugin, i can defenately use it for displaying some movies in a nicer way.:)

  • Chris Merriman

    Msg for reaper.
    The only effect this plugin will have on your bandwidth is the plugin’s size itself – externally hosted files will simply be pulled from that server, yours will not suffer because of it.
    Ideal if you happen to have free webspace, as well as your own paid for server, assuming the free webspace company do not clamp down on excessive use…

  • canarkadaş

    Thanks beautiful addition, turkish version download and original version linkhere.

    Successes and good days.

  • gevv

    Hi
    Thank super Plugin :)

    flash animation black background problem
    white background fit not problem

  • Christopher

    Hello, I have two questions first off the javascript code I pretty much can place anywhere in the header.php? Second I would love to see a progress indicator when uploading your vidoes.

  • siori

    Great plug-in – thanks!

    In response to the problem about Wordpress installed in a subdirectory — my Wordpress address is different than my blog address in options and the plug-in couldn’t find the video files.

    I just changed the code that is added to header.php in two places from bloginfo(‘url’) to bloginfo(‘wpurl’) — wpurl is the directory where wordpress is installed

  • gevv

    Hi
    blog users Add video panel to be seen :(
    how add video panel to hide ?

  • Pankaj

    Hello,

    I’ve installed the plugin and uploading works but i’m not getting the link “Add VideoPop” in my write/post page to insert the video.

    Can anybody help me?

    Thanks
    God bless u!

  • Christian

    Hi Marcus, thank you for your work..

    Regarding “Display image before your VideoPop links”:
    Where do I have to change the URL? Where can I find the URL?
    Sorry for that, but I´m a beginner…

    All the best
    Christian

  • Matteo

    Hi! I’have that plugin from a year, but now I have upgrade wordpress to 2.3.1 and plugin doesn’t work!!!!!!!!!!! :( why??

  • Lisa

    Hey,
    I downloaded this plugin and tried to use it for home vidoes on my blog, but could not get it to work. I was able to post the video and when you clicked on the link the video screen would pop up, but the video just would not play. Any suggestions?

  • baron

    thanks for plugin, perfect

    turkbaron

  • Carola}i{

    Thank you so much for this plugin, I’ve been using it for a while and it’s a great (easy and more private) way to share videos with friends.

  • Johan

    Hi Thanks for sharing. I really want to use it. I am using WP 2.5 and don’t see the tab on the editor to add the videos. So I am stuffed :-( for now. Johan

  • Johan

    I was stuffed because I did not look for the tab above as it was in an unusual place. Got it ;-)

  • baron

    hi there.com plugin but :

    Does anybody know if tis script is compatible with Wordpress 2.5?

    Thanks in advance for any help on this!

  • baron

    hi. Thanks for plugin

    perfect…

  • antonio

    when, FLV format
    when Ajax or lightwindow

  • Bozukbeyin

    Thanks for sharing

  • ryan

    great plugin!!

    i instalt the pluging and add a video to upload, then i add the link to my post using the videopop. everthing works great but when it pops up it says NO VIDEO ? what im i dong wrong?

  • grumpytico

    Awesome, works great – thanks!

  • Ahmet ALP

    Thanks you for Plugin.

  • MAX

    Hey Marcus,

    Great plug-in but I have a question. I want to dim the background when the video pops up like hulu or Apple Trailers. How would you recommend I do this?

  • FrwrX

    This is EXACTLY what I have been looking for!!!

    In fact, if I can get this working on my site. I will send a donation for your work via PayPal.

    The following error appears at the top of my web browser window when I try to do a new post:

    Warning: file_get_contents(/home/frwrxcom/public_html/blog/wp-content/videopop/videopopdata.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /home/frwrxcom/public_html/blog/wp-content/plugins/videopop/videopop_plugin.php on line 138

  • antonio

    When an update with optional lightbox

  • Michael

    Too cool! Really nice plugin! Thank you for developing this out.

  • Glany

    This is really a great plugin. I would like to know if there is a way to add extra text fields for videos (like Name: Caption: ++)

  • Olivia27zj

    Different people don’t get know how to find the thesis title related to this topic. Therefore, I could offer your good enough issue. Moreover, some of them will find the thesis.


Leave a Reply




Creative Commons License

Home

Pages

Categories


81 weeks ago

Propaganda