new version of the embedded movie mod
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Update for 1.5.1: http://langleycom.com/gallery_download/1.5.1movie_mod.zip New features in this mod will include:
Quote:
view_movie_properties.php -> similar to vew_photo_properties.php --shows the properties of the movie or audio file. I will provide files for 1.5(soon to be released). What features/improvements would you like to see in the embedded movie mod that are not conerd here? If you feel there is a movie format that I am missing or a size that you would like me to test send me the file and I will add it to the site and see if I can get it to work properly. I will try to address concerns you might have. As usual, you can download the embedded movie mod additional notes from development work: $video_width = 320; // default $video_height = 250; // default Now you can scale your movies if they are over a certain size. In /layout/embedded_movie.inc You will see // make movie smaller if bigger than 600 wide shrink the movie by 65% // set the 2 values below to your situation $video_width_resized = 600; $video_shrink = 0.65; if ($video_width > $video_width_resized) { $video_width = round($video_width * $video_shrink); $video_height = round($video_height * $video_shrink); $video_is_resized = true; } If the movie is over 600px wide it will be scaled back 65%. These values can be adjusted to your site and design. Movie properties are in /layout/movie_properties.inc it can now be called from inline_moviethumb.frame.default but you must un-comment it to show under the thumbnail. // just remove the two slashes to have the movie propeties under the thumb // include (dirname(dirname(__FILE__)) . '/layout/movie_properties.inc'); // format the table with the movie css class Formatting of the table is done with a new css class .movie , I have removed some of the posts that have either been fixed or not on topic. This thread was getting very long and most of it was a discussion on the early development of this mod.[/] [/] [/] [/] |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Ok i had some time to package the new mod. Embeded movie mod. Contents: Troubleshooting: ophidite wrote:
Erreur: Index demandé [0] hors limites [39] ------------------------- My Chistmas present to you! |
|
davidsnyder
![]()
Joined: 2004-12-13
Posts: 1 |
![]() |
Is it possible to change the thumb nail of the movie to be played? I have over 600 videos that I am currently linking to from the gallery. I would definitely like to use this, but I really need to be able to change that thumbnail. Since I haven't installed it yet, that is why I am asking. Thanks :D :D |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
The is embedded movie mod only. It does not do thumbnails. For movie thumbnails see: ffmpeg movie thumbnails (with time) Dave |
|
fabien
Joined: 2004-12-18
Posts: 18 |
![]() |
Dave, Thanks a lot for this new mod supporting frames :D . Reminder for those running a windows server. The path to the helperapps folder should not contain any space. In case it does, use the 8dot3 rule to specify the path inside the getid3.php file around line 114. Cheers! Fabien |
|
whoisfrost
Joined: 2004-05-12
Posts: 3 |
![]() |
I just recently upgraded my gallery and in the process lost your old embeded movie player i was using so i figured i'd give this one a try. The embeded movie player works great but some of my other albums are messed up. Any albums that contain only sub albums are now empty. It still shows that there are sub albums but the thumbs are gone. You can see what i mean here.. http://verrets.com/modules.php?op=modload&name=gallery&file=index Family pictures has sub albums and a picture and is working fine but pets only has sub albums and as you can see it shows the sub albums are there but no thumbs. Oh and btw thanks alot for the mod... it works great... :D |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
whoisfrost, BTW for Embeded enviroments you must edit Gallery's index.php and add view_movie_properties.php to the $safe_to_include array. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
ebellah wrote:
I haven't seen all the messages in this thread, but are mp4 files suppored? I can see them fine, but above the thumbnail is an error message : I got the movie from ebellah and ran some tests: I see from this .mp4 file it has some errors. I don't understand any of this stuff but here is the errors that getID3 gives: Quote:
Unknown QuickTime atom type: "iods" at offset 140 &Errors Quote:
This version (1.7.2) of getID3() does not fully support MPEG-4 audio/video streams I will post in the getID3 forum and see if the author has any insites. I have made some changes to the getID3 files to fix this. Dave |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
rogun wrote:
Update2: When playing video's in firefox, the video window is larger than it needs to be for avi's. When trying to play mpeg 1 files videos, I'm alerted to download the latest quicktime plug-in. After installing it, though, it reloads the page and still doesn't work. If these problems have previously been documented, I apologize. I don't know if this is related or not but there is a bug report for this: https://bugzilla.mozilla.org/show_bug.cgi?id=264442 As for the movie being a bit bigger. The documentation for Quicktime says to add 15px to the height of the movie for the controller to be displayed. Perhaps this is not required in some environments, or different version(s) of the player. Quote:
*note - be sure to add 15 pixels to the height of your movie to allow for the controls. Notice above the movie size is 320x240 but I've changed it to 320x255 to allow for the movie controls* am I doing something wrong? Perhaps I don't need to add the 15px for FireFox? Perhaps the codebace in the <object> and <embed> tags need to be different for .mpg &.mpeg files. |
|
rogun
Joined: 2004-01-05
Posts: 19 |
![]() |
I don't know anything about embedding videos, so I have no idea what's wrong. As for the video window size, it seems to work fine on other sites using my installation of firefox. It must be a problem with my site, but I'm not sure why and I haven't made very many modifications to the default theme. But when it does happen, it does so for both mpeg1 and avi videos and only with firefox. There's extra black space at the top and even more on the left of the window. The mozilla bug report does seem similar. Mine occurs when trying to play mpeg1 files. I receive the message alerting me that I need additional plug-ins to play the file and then it suggests that I install Apple Quicktime 6.5.1. But, after supposedly installing it, the page reloads and it goes through the same routine all over again. I wonder if updating firefox and/or quicktime to the latest version would fix the problem, but I haven't tried yet. I can't think of another site to test. I haven't gotten around to using firefox regularly yet and so I don't know if this is a normal reaction or something specific to your work. If I come across any new information, I'll post an update for you. Update: After writing this, I updated to the latest version of firefox and quicktime and it still wouldn't play mpeg 1 videos. Then it occured to me that I don't normally use QT to play mpegs, so I configured QT to play both mpeg video and audio files and it worked! It's interesting that it worked in IE regardless of the mpeg mime types being set in QT. I still haven't figured out the problem with the video window and I'm not even sure where to begin looking. I'll let you know if I find an answer though. Update2: Dave, I noticed that when trying to play videos in firefox on my website, the width/height listed in the OBJECT tag is 320x255. When playing videos on your site, where the window is the correct size, the width/height is listed as 320x240, as I assume it should be. With avi videos, it's listed as 320x290. The aspect ratio of all the movies on my site is 320x240. Update3: Okay, this is weird. I'm using the 'solid' border for my images and videos, but I noticed that you were using your custom film border. So, I decided to try out a different border and selected the 'Polaroid' one. The problem seemed to disappear and everything looks fine. However, when I go back to the 'solid' border, the problem returns. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
rogun wrote:
Update3: Okay, this is weird. I'm using the 'solid' border for my images and videos, but I noticed that you were using your custom film border. So, I decided to try out a different border and selected the 'Polaroid' one. The problem seemed to disappear and everything looks fine. However, when I go back to the 'solid' border, the problem returns. We are making progress! I never did test with different Frames so I guess I will have some work to do. I did sme changes to the layout/embedded_movie.inc and got FF to play the .avi files correctly and then reverted the changes and it seems to work for me as well. I don't understand why it still works now that I reverted the changes back to the original. Must be a Firefox/Windows thing. .avi is a microsoft format so I think they might be at their tricks again? :wink: Dave |
|
rogun
Joined: 2004-01-05
Posts: 19 |
![]() |
floridave wrote:
I did sme changes to the layout/embedded_movie.inc and got FF to play the .avi files correctly and then reverted the changes and it seems to work for me as well. I don't understand why it still works now that I reverted the changes back to the original. Must be a Firefox/Windows thing. .avi is a microsoft format so I think they might be at their tricks again? :wink: It did not work right after I reverted back to the solid frame. I'm not sure if you misunderstood me or if I misunderstood you, but it only works correctly for me when I have an actual frame around the video (Btw, I meant frame and not border earlier.) Isn't the solid frame actually an html border tag, whereas the polaroid frame is probably made up of block tags? If so, I would guess the problem has to do with the video not being positioned correctly. Also, I somewhat lied to you earlier: I have messed with embedding video before, but it's been so long ago that I don't remember much and it wasn't anything as elaborate as what you're doing. However, I seem to remember having similar problems with the video when it wasn't positioned correctly. I'm having trouble with the video disappearing and moving within the window when I move the scroll bar or mess with the video controls. I think those problems will disappear when you have the video positioned correctly and that I used this as a guide. I hope something here helps! |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Fix: Force a <br> after the movie if the frame type is "none". >>>inline_movie.frame.default I would like to "start over" so to speak. I have been looking at code and heights and widths for some time and can't seem to find a issue with the files/OS/Browsers that I have. I have created a sub album with the assorted movies and this album has a "solid" frame. It is still a table around the movie but a slightly different layout. It still should work as it is just tables with background images. If you have a issue then send me a link to the issue or PM me a link and describe the issue. It is hard to fix what I cant see. I have updated the download to reflect the changes and fixes above. Dave |
|
Neone
Joined: 2003-12-28
Posts: 54 |
![]() |
Hi there Dave. I think it's EXCELLENT that you take you time to create this mod. I'm hosting a website with pictures and videos from rave parties. There's only me and another site that hosts this kind of high quality edited video material from rave and trance parties. So when there's a new video out, there's a rush for the visitors to get it downloaded. That's why I was asking if you could put in a download link as well. That would be perfect. Me for example, I never watch the videos in my browser, I rather download them and watch them from the HDD. I don't know if you think it's a good idea, but I think it is ;) And a tip for the download link, make it forced. So it doesn't open in their default media player as it often do on windows systems. The "save file as" dialog should come up instead of the WMP window. I really appreciate this mod, and I will definitely try to get it up and running. But since you almost always have to make the statement that your visitors have IQ=0 (I don't know how many times I've had to explain to my visitors that if they read the news they'll find the link to the picutures, and a LOT of other common things...), it would be great if there was a possibility to post optional info from the videofile under the thumbnail, it could be really nice if you use CSS. View the attached image for an example of how it could looke like. Even better was if there was a "Download codec" link as well. Because regular visitors doesn't know shit about anything, so you almost have to do everything for them (actually, I've done it a few times)... So maybe a settings page would be nice? Paths to codecs for download, in what order should the extracted info be displayed etc. And maybe a customized thumbnail that overrides the one created by the gallery? That way you could make it REALLY neat ;) I don't know so much about PHP, so it might be a LOT of work to implement all that, but it would be so awsome. I've scouted hotscripts.com and freshmeat.net for a neat video gallery, but there are no good ones! Your mod is the most qualified - by far! :D Take a look at the attached picture I've made in Photoshop. It's not impossible to make it look like that with a CSS and your neat script :D |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Neone wrote:
I rather download them and watch them from the HDD. Done! Neone wrote:
I don't know if you think it's a good idea, but I think it is ;) And a tip for the download link, make it forced. So it doesn't open in their default media player as it often do on windows systems. The "save file as" dialog should come up instead of the WMP window. That took some doing and I have only tested it in IE and FireFox. I tried a Java Script solution but it did not work in FireFox so google found a php soultion. Neone wrote:
I really appreciate this mod, and I will definitely try to get it up and running. But since you almost always have to make the statement that your visitors have IQ=0 (I don't know how many times I've had to explain to my visitors that if they read the news they'll find the link to the picutures, and a LOT of other common things...), it would be great if there was a possibility to post optional info from the videofile under the thumbnail, it could be really nice if you use CSS. View the attached image for an example of how it could looke like. I will work on this, but the thumbnail page will get VERY cluttered, that is why I did the popup movie properties so that it ties in with the photo properties link. Neone wrote:
Even better was if there was a "Download codec" link as well. Because regular visitors doesn't know shit about anything, so you almost have to do everything for them (actually, I've done it a few times)... So maybe a settings page would be nice? Paths to codecs for download, in what order should the extracted info be displayed etc. And maybe a customized thumbnail that overrides the one created by the gallery? That way you could make it REALLY neat ;) I don't understand what you are after here. Perhaps more pix are in order. Dave |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
NEW: added upload date to movie_properties.php. Neone wrote:
it would be great if there was a possibility to post optional info from the videofile under the thumbnail, it could be really nice if you use CSS. View the attached image for an example of how it could looke like..... New/change: moved movie properties to /layout/movie_properties.inc it can now be called from inline_moviethumb.frame.defaultbut you must un-comment it to show under the thumbnail. Unless all your movies have the same amount of data, it does not look good. Here is a screen shot: Dave |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Changing the movie size AFTER determining the size of the users screen is a pain. You have to set a cookie with Java script and then reload the page and read the cookie with php. I tested this cookie method and got it to work but finally decided on a user configurable method. So now you can scale your movies if they are over a certain size. In /layout/embedded_movie.inc You will see // make movie smaller if bigger than 600 wide shrink the movie by 65% // set the 2 values below to your situation $video_width_resized = 600; $video_shrink = 0.65; if ($video_width > $video_width_resized) { $video_width = round($video_width * $video_shrink); $video_height = round($video_height * $video_shrink); $video_is_resized = true; } If the movie is over 600px wide it will be scaled back 65%. These values can be adjusted to your site and design. If the movie is scaled then a note is added under the movie "This movie has been resized to fit screen" edit to your tastes. As usual, you can download the embedded movie mod |
|
wayhigh
Joined: 2005-02-12
Posts: 2 |
![]() |
I just installed your gallery on 1.4.4-pl6 and I'm getting a javascript error when trying to view movies in the browser window. The error is as follows: Any ideas why I'm receiving the error? Thank you, |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Just a stab in the dark before I go to bed..... Turn off the fit to window for that album and see if that helps. Dave |
|
wayhigh
Joined: 2005-02-12
Posts: 2 |
![]() |
Thanks a bunch for your help in figuring out that weird javascript error. I still have one more problem that I thought may have been related to the previous error but I guess not. The embedded movie add-on is crashing my wife's IE browser window. Do you have any idea why it would cause the browser window to crash? Thank you, |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Your movies and the rest of gallery look fine to me in IE6 on win2k. It also looks ok on IE6 on win98. <td align="center"><a > <!-- begin embedded WindowsMedia file... --> bla-bla-bla </EMBED> </OBJECT> <!-- ...end embedded WindowsMedia file --> </a></td> note the opening <a> and closing </a>. This is not right and I will have to work on this. You might be able to test this by saving the source remove the <a> tags I mentioned and see if it still crashes your wifes computer. Another thing is the version of media player might have something to do with this as well. I can't reproduce this so it is hard to tell. Dave |
|
jagsfan
Joined: 2005-01-19
Posts: 14 |
![]() |
Quote:
Warning: filesize(): Stat failed for /home/tropangb/public_html/gallery/albums/album02/Widescreen1.wmv (errno=2 - No such file or directory) in /home/tropangb/public_html/gallery/html_wrap/inline_moviethumb.frame.default on line 43 hey dave im now getting this exact same error. the 8 second clip i was using i deleted and tried adding the real thing as well as some smaller vids around 3mb in size, i dont know if it is related to the latest mod update i added but i have also tried all the fixes that correspond to this error with no luck, any ideas? |
|
mosco
Joined: 2005-01-28
Posts: 14 |
![]() |
Great mod! Thanks for putting it together and sharing it. Can the plugin also support .flv video files (flash video files)? It would be great if it worked without having to save them in flash swf file. The new flash video flv format can be standalone, and can also have custom skins on top of the video (for controls.) The marcomedia site has an overview here the nice part is that anyone with the flash plugin can view them (pretty much everyone) and I don't need to have flash to create the video files. FFMPEG can create flv files, so this would be a great way to completely automate the process and ensure that all viewers can see the video. |
|
mosco
Joined: 2005-01-28
Posts: 14 |
![]() |
follow up question: when installing, I have a heavily modified version of gallery. I keep track of my changes so it's fairly easy to deal with upgrades. Thanks. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
mosco wrote:
Can you let me know on which line numbers your modifications to view_album.php and view_photo.php are? This way I can just drop them in my modified version. (I don't have access to diff...) The best way to do this is to get a fresh version of the file(s) and use http://winmerge.org/ or if you have a Mac there is a similar program but I don't know its name. I am not going to provide a step by step method as I find this very hard to support and people ALWAYS screw it up. If people have moded the core files then they are more than competent to look for the changes with winmerge or diff or something similar. It is just a pain for me to look through my modded version as well. Quote:
Can the plugin also support .flv video files (flash video files)? I will have to read up on this. Can you provide a link that has this type of file embedded in a simple webpage. The link you provided assumes the user has dreamweaver. I will read more and try to digest it all. I will change this mod if I can find a way to do this and/or if getID3 supports the file format. Can you send me a file or provide a link to a file that you would like supported. If you do then this will happen faster. Dave |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
jagsfan wrote:
Did the file get added? Is the file in the location from the error? The error is quite explanitory....No such file or directory Dave |
|
mosco
Joined: 2005-01-28
Posts: 14 |
![]() |
floridave wrote:
Ok, I understand. I will use your suggested method, in any case I do track all the changes I have made so it shouldn't be too hard to figure out. floridave wrote:
Ah yes, I am not sure if it can be done without having the marcomedia video kit (which is a plugin for flash or dreamweaver). I do have a test file I will pm it to you so you can take a look, it was created in dreamweaver though, so maybe it can't be embedded into gallery? Thanks for looking into it. I'll also try to find out more and share anything I find... |
|
mosco
Joined: 2005-01-28
Posts: 14 |
![]() |
I am testing the mod and getting the following message on view_photo.php: The "Launch in external player" link does work, but when I click on the movie properties window it looks like it can't read the movie properties, it shows: The video files are mpg and they play ok in quicktime or windows media player. The weird part is that on view_album.php it does display the movie file size and running time accurately. It is not generating any php errors. Sorry if I missed something obvious in the setup. Thanks for all your help! |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
mosco, floridave wrote:
Troubleshooting: The only thing I can think of is if you install the full version getid3 and then browse to the /classes/getid3/demo/index.php and see if getid3 can tell you the info about the file. I suspect that you might need some "helper" files for windows. Or you have a space in the path to getid3 or its helper files see http://www.getid3.org/phpBB2/viewtopic.php?t=277&highlight= or http://www.getid3.org/phpBB2/viewtopic.php?t=179&highlight= Remember to remove the demo folder/directory when you are done as there is no security and you can delete files on the file system with the demo. I don't have a windows server so I hope somebody will chime in here and lend a hand. Dave |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
mosco wrote:
Got it to work with the full version getid3. Glad you got it to work. mosco wrote:
I think it would also work by just moving the helperapps dir one level up and then your files do not have to be modified. (so you should have getid3 in classes dir, and helperapps in classes dir also.) But I haven't tested that. I have moved the helper directory to classes in the new zip file. Somebody let me know if this does not work. mosco wrote:
ps: a really minor issue, but that could throw off someone installing for the first time, in the zip file of embedded_movie the file gallery/layout/embedded_movie.inc is actually name embedded_movie.inc.txt. It has to be renamed to embedded_movie.inc (removing the .txt) for it to work. Fixed in the new zip file. Thanks for point out the errors and fixes. Dave |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
mosco, maggard, and the rest that are interested in Flash FLV movie files..... Correct me if I am wrong here. So for each movie it needs three files to work correctly. You would need to be uploaded these 3 files to the server. Now to test to see if getID3 will get the correct size for the movie/swf file. Comments? |
|
mosco
Joined: 2005-01-28
Posts: 14 |
![]() |
Yes I think that's correct, a different FLVPlayer_Progressive.swf is required for each movie. For me, I think having a common skin for all movies within the same album or even for the whole gallery would be fine. Somethings to note: after looking more into it, my understanding is that to get the full benefits of flv files (progressive download flv's) users need flash 7, but most users still have flash 6 so using swf's might still be the better option. Adding the hassle of having to upload a separate FLVPlayer_Progressive.swf for each movie makes it even less attractive. Unless there is way to automatically create that file? But it would be a nice option to have nonetheless. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
getid3 does not recognize the flash movie .fla format. Therefore, in order to get this to play properly in gallery we need the height and width of the .swf file. getID3 does extract this correctly (as far as I can tell with the limited testing/resources) I am only making assumptions here as I have not tried making my own movie. The issue that I am running into is gallery will only upload one file (that is OK as we can put the movies and a skin some place else). So that file has to be the FLVPlayer_Progressive.swf. GetID3 extracts the correct file size and mime type for this file. The issue is that the code for displaying the file embedded, is different than a regular flash .swf file. In the Flashmovie file there is extra parameters that are not needed with standard flash files. Here is just two: <param name="salign" value="lt" /> <param name="scale" value="noscale" /> We need a method of having gallery or getID3 tell the difference between the to .swf files; A couple ways to go about this; 2.)One of the returned values from getID3 form FLVPlayer_Progressive.swf is: Quote:
[swf] [header] [signature] string CWS So I could check this value and then display the correct <object>&<embed> tags. I don't know if this is the right way to go or not as I have only checked a few files for that header string. 3.)Check the name of the album and then only display progressive movies if the album name starts with progressive for example. I don't like this method as it relies on the user to know what he is doing. and this is not the case some of the time. Comments? ideas?... Dave |
|
ophidite
Joined: 2004-03-26
Posts: 26 |
![]() |
Since I have applied the embeded movie MOD to my Gallery Here is the error i got when i click on a thumbnail and i load an image (movie or photo) Erreur: Index demandé [0] hors limites [39] If Anyone have encontered this error code , can you give me a clue to solve it . I think it is relative with view_photo.php Thanks in advance |
|
moiz87
Joined: 2005-02-18
Posts: 19 |
![]() |
i am looking to upload about 25 meg mpg clips and play them on the gallery, i can't upload for some reason anything bigger then 2 megs on g2 it keeps giving me an error... any help wud be appreciated thank you. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
moiz87, FAQ Gallery:c.16 or most likley FAQ Gallery:c.6 The other option is to make a thumb for the image and create a new custom field and call it view movie. Then add a link to the move where you have it on the server. You can add links (regular HTML) to the data field of the new custom field. For a example of what I mean: WWII movies The other option is to add a small movie with the same name and then FTP the full movie overwritting the the /albums/nameOfAlbum/nameOfMovie.mpg. Then this will "fool" gallery into thinking that you added the movie. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
ophidite wrote:
Since I have applied the embeded movie MOD to my Gallery Can you reapply the files? I never tested it with 1.4.4pl3 or lower. I never tested it in embedded environment. Dave |
|
ophidite
Joined: 2004-03-26
Posts: 26 |
![]() |
Yes I find the problem in sentinel.php . Your MOD is not the problem . NUKE Gallery in 1.4.4 can cause trouble with Sentinel 2.1.3 |
|
jagsfan
Joined: 2005-01-19
Posts: 14 |
![]() |
hey dave sorry i didnt respond sooner, i reloaded my entire site as well as gallery to try and determine the problem im having with uploading movies. its seems that the small clip i uploaded is only about a meg or so thats why it goes up to the server but 3 meg clip will not. now i have read all of the faq on this and cannot get it working. im not sure where my php.ini file is ither but it tried tricking gallery like you said here Quote:
The other option is to add a small movie with the same name and then FTP the full movie overwritting the the /albums/nameOfAlbum/nameOfMovie.mpg. Then this will "fool" gallery into thinking that you added the movie. problem is that i am unable to overwrite file it will not let you. im using cpanel that my host provides i upload to a different folder fine then i select move and it tells me its not alowed. i tried changing permissions but that dosnt help either, is there anything else you can think of? im really not likeing the idea of adding a link to the movie i like the embedded feature. thanks |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
jagsfan wrote:
problem is that i am unable to overwrite file it will not let you. im using cpanel that my host provides i upload to a different folder fine then i select move and it tells me its not alowed. i tried changing permissions but that dosnt help either, is there anything else you can think of? With your control panel you should be able to delete the "small" movie and upload a new "full version" in its place. If you cant do that then how did you upgrade gallery? How did you overwrite the existing files from my mod? Did you try the URL method of adding your movie? You FTP your movie to your server (outside gallery) and click add photo, click the URL tab, enter the path to where you added the movie. Turn debug mode on in the config wiz if that fails and try again. I really don't know what to say :roll: If you can't add large files then perhaps is is time for a a new Host? PM me your login info and Cpanel info and I will take a look if you wish. Dave |
|
jagsfan
Joined: 2005-01-19
Posts: 14 |
![]() |
dave i can upload large files with no problem i can even overwrite and all, its only anything under the albums folder that i cannot manipulate. i looked at my php.ini file and its set to 50m im pretty sure my host is not limiting me its gotta be somwhere in the config. i asked my host though where to edit my php.ini file and they said i cant they said put .htaccess folder in gallery directory and set the upload there, tried but that doesnot work. dave url way works thanks for the help, i was under the impression that it was gonna link me to another window with the url at the bottom. |
|
khsjr1970
Joined: 2004-04-24
Posts: 271 |
![]() |
dave were you sent a copy of a .mp3 with a a graphic encoded in ? I don't see where you got what you asked for, and what effect the embedded album art in a .mp3 has had on this thread. I can send a file that I am sure has embedded cover art. I will be happy to send if needed. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
khsjr1970, I don't know much about .mp3 s so it might take some time to do this. Have you see this done on anther site? Seeing how somebody else does stuff is a great learning tool. |
|
mosco
Joined: 2005-01-28
Posts: 14 |
![]() |
Hey Dave, Sorry haven't had time to follow up on the .flv tests. I did get your mod to work with my install using swf movies and it rocks! At this point I'm not sure using flv's will be worth the effort if swf are working so well, so I probably won't have time to test it any further. Thanks again for your work and help. |
|
jagsfan
Joined: 2005-01-19
Posts: 14 |
![]() |
Hey dave i have a question for ya: while viewing a movie clip with firefox i am unable to adjust my volume, skip forward or backward in the clip without losing the picture, the only way to get it back is to refresh. any ideas? here is an example here |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
jagsfan, I do notice that if you pause or stop a movie for a long period of time (or go to another window while paused or stopped) the movie part disappears but the controls are still there. Pressing play brings everything back together again. Is see that behavior on my test site as well. Volume works for me as well. |
|
jagsfan
Joined: 2005-01-19
Posts: 14 |
![]() |
thanks for checking it out dave! im also using ffv1 but i have mediap v10 and xp. but i guess if 90% of visitors can see ok then im happy. thanks again! |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
khsjr1970 wrote:
dave were you sent a copy of a .mp3 with a a graphic encoded in ? Thanks for the MP3. I have now got gallery/getID3 to extract the "cover art" from the mp3 file. The cover art then replaces the default thumb & the image above the embedded player. See the results: Cheers! Dave |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Upgraded files for 1.5. http://langleycom.com/g1/movie/embeded_movie_mod If I could get some help making a readme or some documentation I would really appreciate it. A few notes: I have started to do some docs http://langleycom.com/ipw-web/gallery/MovieMod_Docs but gave up. Dave |
|
peiqinglong
Joined: 2003-11-17
Posts: 55 |
![]() |
I just installed this and I'm getting an error message just going into any albums, I haven't uploaded any movies yet: Fatal error: Call to undefined function: getrequestvar() in /home/bui4eve/public_html/pics/view_album.php on line 27 I'm using Gallery 1.4.4pl6. Website: www.bui4ever.com/pics Any idea? Thanks! floridave wrote:
It looks to me like you used the 1.5 version of the mod over your 1.4.4 install. Doh my bad! Didn't realize that! Edited by floridave; |
|
kunald
Joined: 2004-03-17
Posts: 14 |
![]() |
Hi Dave, great Mod! I just have a few questions though (sorry if this isn't the right place); - When viewing an album, is it possible NOT to show the "view in browser" things- just the title of the file. This includes not showing the date and information above the thumbnail. An example is this: http://www.kunation.com/gallery/album01 - I'm using the Bblue skin and the "view in browser" and other things appear on a black background with dark text. It's very hard to read, how would I get around this? - Ever sine I installed this mod there has been a space under all the titles of the titles in an album; http://www.kunation.com/gallery/album01 |
|