PDA

View Full Version : Playing Windows Media Files Inline Using Plugin


Moya
11-01-2005, 10:00 PM
This just an upgrade over from my existing hack HERE (https://vborg.vbsupport.ru/showthread.php?p=774978#post774978)
to use plugin system for vb3.5 gold


What this hack does::

This hack allows your users to upload media files via your board file management and play the media fields within their post.. It is adivisable to have one inline per post.


Foreword:

This hack might not work on all system due to different configuration, platform, and such. I will try to help you all as much as I can.

This hack will use your board attachment system to run mp3, wma, wmv, flash files. It is a bit server intensive. So be warned

Security Risk:

It has been known that flash files can be used to exploit and compromise certain securities on user computer. You might want to verify your flash attachment before enable flash playing inline on your forum.

Files To edit: 0
Queries to run: 0
Uses Product: Yes
Template Edits: 1



Template Edit

To remove previous version from Postbit template
Postbit template

Look for



<if condition="$show[flashattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attached_flash] $flashfilename </legend>

<div style="padding:$stylevar[formspacer]px">
$post[flashattachments]
</div>
</fieldset>

</if>



<if condition="$show[wmaattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_wma] $wmafilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[wmaattachments]
</div>
</fieldset>

</if>

<if condition="$show[wmvattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_wmv] $wmvfilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[wmvattachments]



</div>
</fieldset>

</if>

<if condition="$show[mp3attachment]">
<fieldset class="fieldset">
<legend>

$vbphrase[attach_mp3] $mp3filename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[mp3attachments]

</div>
</fieldset>

</if>



Postbit legacy template

Look for



<if condition="$show[flashattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attached_flash] $flashfilename </legend>

<div style="padding:$stylevar[formspacer]px">
$post[flashattachments]
</div>
</fieldset>

</if>



<if condition="$show[wmaattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_wma] $wmafilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[wmaattachments]
</div>
</fieldset>

</if>

<if condition="$show[wmvattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_wmv] $wmvfilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[wmvattachments]



</div>
</fieldset>

</if>

<if condition="$show[mp3attachment]">
<fieldset class="fieldset">
<legend>

$vbphrase[attach_mp3] $mp3filename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[mp3attachments]

</div>
</fieldset>

</if>



REMOVE THEM

SAVE

Open postbit_attachment and add to very top


<tr>
<td width=450 colspan="2">

<if condition="$show[realattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_real] $realfilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[realattachments]
</div>
</fieldset>

</if>


<if condition="$show[movattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_mov] $movfilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[movattachments]
</div>
</fieldset>

</if>

<if condition="$show[flashattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attached_flash] $flashfilename </legend>

<div style="padding:$stylevar[formspacer]px">
$post[flashattachments]
</div>
</fieldset>

</if>

<if condition="$show[pdfattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_pdf] $pdffilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[pdfattachments]
</div>
</fieldset>

</if>

<if condition="$show[aviattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_avi] $avifilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[aviattachments]
</div>
</fieldset>

</if>

<if condition="$show[mpgattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_pdf] $mpgfilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[mpgattachments]
</div>
</fieldset>

</if>
<if condition="$show[mpegattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_pdf] $mepgfilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[mepgattachments]
</div>
</fieldset>

</if>



<if condition="$show[wmaattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_wma] $wmafilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[wmaattachments]
</div>
</fieldset>

</if>

<if condition="$show[wmvattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_wmv] $wmvfilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[wmvattachments]



</div>
</fieldset>

</if>

<if condition="$show[mp3attachment]">
<fieldset class="fieldset">
<legend>

$vbphrase[attach_mp3] $mp3filename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[mp3attachments]

</div>
</fieldset>

</if>


</td>
</tr>





Upload the included XML as product.



Demo

https://vborg.vbsupport.ru/attachment.php?attachmentid=24797

https://vborg.vbsupport.ru/attachment.php?attachmentid=24798

https://vborg.vbsupport.ru/attachment.php?attachmentid=24799

https://vborg.vbsupport.ru/attachment.php?attachmentid=24800



If you use this hack please click install.


As christianb mentioned in the other post, you might need to setup attachement types for your forum to play properly.



Use the following for your types


WMA ? Content-type: audio/x-ms-wma
WMV ? Content-type: video/x-ms-wmv
MP3 ? Content-type: audio/x-mp3
SWF ? Content-type: application/x-shockwave-flash
AVI ? Content-type: video/x-ms-avi
MOV ? Content-type: video/quicktime
MP4 ? Content-type: video/quicktime
MPEG ? Content-type: video/mpeg
MPG ? Content-type: video/mpeg
RAM ? Content-type: audio/x-pn-realaudio
RM ? Content-type: audio/x-pn-realaudio
SWC ? Content-type: application/x-shockwave-flash



NOTE: This hack use your board attachment.php to play those specified media files. Therefore, you will have to set up user right to download attachement in under forum permissions.


mov, mpeg, mpg, mp4, wma, real, wma, wmv, avi

DavidL
11-01-2005, 10:38 PM
Good job on the 0 file edit version :)
* DavidL installs

Moya
11-01-2005, 10:47 PM
Good job on the 0 file edit version :)
* DavidL installs

Thanks I hope you like it

davidw
11-01-2005, 11:06 PM
Can I still help? :P

* christianb clicks install

cbr929rrerion
11-01-2005, 11:07 PM
tried it.. it uploaded, and nothing was there.. no link, no video, noting.. just the text i typed...

Moya
11-01-2005, 11:08 PM
Can I still help? :P

* christianb clicks install

Sure :D thanks :D

Moya
11-01-2005, 11:09 PM
tried it.. it uploaded, and nothing was there.. no link, no video, noting.. just the text i typed...


Can I take a look at your link? What browser are you using? Firefox is tempermental with plugins?

cbr929rrerion
11-02-2005, 01:24 AM
Ill send you a pm..

Sent.. I appreciate your help...

R

Snake
11-02-2005, 06:39 AM
Thanks!

rb290
11-02-2005, 03:13 PM
do you have to install any of the previous versions for this one to work ?

Moya
11-02-2005, 05:49 PM
If you have never have this installation, then you are fine. If you have the code modification version, you will have to remove those code and postbit template modification.

With the update to 3.5.1, this hack should work fine.

NuclioN
11-02-2005, 05:56 PM
Have this error when uploading swf: Imageinfo Failed

Moya
11-02-2005, 06:06 PM
Have this error when uploading swf: Imageinfo Failed

I think this server issue or something within vb code. You should consult vb.com :nervous:

davidw
11-02-2005, 08:09 PM
This is kinda weird

What would cause the audio or video to not show up at all if the code is placed in postbit_attachment
however, if the same code, minus the <tr> and <td> tags are placed back in the postbit_legacy the same audio or video is displayed twice?

cbr929rrerion
11-02-2005, 08:49 PM
Stitch.. have you had a chance to look at my site yet?

Moya
11-02-2005, 09:53 PM
Stitch.. have you had a chance to look at my site yet?


Hi cbr929rrerion,

I look at your forum last night. I couldn't have access to your templates setting. It looks like I only have mod rights.

I tried to upload an wma file, but your forum didn't have wma turn on.

Moya
11-02-2005, 09:55 PM
This is kinda weird

What would cause the audio or video to not show up at all if the code is placed in postbit_attachment
however, if the same code, minus the <tr> and <td> tags are placed back in the postbit_legacy the same audio or video is displayed twice?


Uhmm I don't have that problem on my board.

cbr929rrerion
11-02-2005, 10:12 PM
I will go fix that, and give you the rights you need.. sorry

********* FIXED ***********

Thanks.. have at it.. I have tried and tried and cant get it..

Moya
11-02-2005, 10:36 PM
I will go fix that, and give you the rights you need.. sorry

********* FIXED ***********

Thanks.. have at it.. I have tried and tried and cant get it..


I will look into your site tonite.

davidw
11-02-2005, 11:27 PM
I'm going to look at it again tomorrow - gotta be something that's causing this issue. Of course, I went back and removed all instances as if I were starting from scratch. :)

Moya
11-03-2005, 08:23 AM
Did you have a source code modification version? I disable the plug in and it works.

I think you should use file system for attachment.

cbr929rrerion
11-03-2005, 10:42 AM
wow.. I woke up this morning to working media..

Thank you so much.. that rocks.. I appreciate all your help..

I do have 1 request and 1 concern..

1) How can I make it not auto start.

2) If you click the link under the video as to download it, if gives you a bunch of gibberish code...

again thanks for all you have done...

cbr929rrerion
11-03-2005, 11:16 AM
well I tried to upload and avi file and all it gave me was the link, it did not play inline, all i do is type my message, click manage attachements, upload it and press submit..

do I have to do anything special to get it to play inline?

Can you try to upload 1 of each file type and see if it works and also check the link code at the bottom... it says the file name but when ya click it ya get gibberish...

davidw
11-03-2005, 12:07 PM
I have the file system for attachments (as opposed to database) - I had removed all entries (or commented out, I should say) in the file edits regarding the previous version.

I'll have some time in a little bit to check it out again.

Moya
11-03-2005, 03:42 PM
well I tried to upload and avi file and all it gave me was the link, it did not play inline, all i do is type my message, click manage attachements, upload it and press submit..

do I have to do anything special to get it to play inline?

Can you try to upload 1 of each file type and see if it works and also check the link code at the bottom... it says the file name but when ya click it ya get gibberish...


When it gives gibberish, it means that it try to use browser to open the file data stream. I have test out the avi on my board.



The avi was added for the 0 file edit version. To be able to play this avi, open includes/class_postbit

Look for Case 'wmv':

and add case 'avi':

under that one.

BTW: You should move your attachements to file system. Uploading and storing media files on your database will cause stress on your db.

To stop the auto playing, look for autostart = 1 under each attachment template and put it equals 0

Moya
11-03-2005, 03:51 PM
I have the file system for attachments (as opposed to database) - I had removed all entries (or commented out, I should say) in the file edits regarding the previous version.

I'll have some time in a little bit to check it out again.


Hi Christianb,

Did you do any mod to class_postbit, other than this hack? If you you didn't, then the easiest way is the replace this file with the file from your download package from vbulletin.

davidw
11-03-2005, 04:27 PM
I posted a reply after you tested.
This morning I had replaced the files with my original (before I used the other inline hack) and tried from fresh using this hack (no file edit) - I'll have to check (go through my installs) and see if any I have used incorporated this file.

cbr929rrerion
11-03-2005, 05:26 PM
its still not working.. any ideas? I can upload them but the do not play inline?

Moya
11-03-2005, 07:00 PM
its still not working.. any ideas? I can upload them but the do not play inline?

It is playing on my browser

Have fun

cbr929rrerion
11-03-2005, 07:05 PM
Ok.. I uploaded a .avi, .mp3, .wma, .wmv, and .swf and only .wma works, avi just shows as attached and a link, mp3, wmv, show nothing and swf shows wierd text on post, Window Media Audio ยป

Please help..

I will try and move to file system now..

cbr929rrerion
11-03-2005, 07:30 PM
its playing on your browser on your site.. not your browser my site.

Moya
11-03-2005, 07:32 PM
Ok.. I uploaded a .avi, .mp3, .wma, .wmv, and .swf and only .wma works, avi just shows as attached and a link, mp3, wmv, show nothing and swf shows wierd text on post, Window Media Audio ?

Please help..

I will try and move to file system now..

Same thing as Chirstianb, can your use unmodified class_postbit.php, if you don't have other hack that use this file.

cbr929rrerion
11-03-2005, 07:41 PM
where is that located... I will see if its been changed

cbr929rrerion
11-03-2005, 07:46 PM
in my postbit template the only change besides my images (for my style) is this..

<if condition="$show[wmaattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_wma] $wmafilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[wmaattachments]
</div>
</fieldset>

</if>

davidw
11-03-2005, 08:02 PM
I'm fixing to upload a fresh copy of the class_postbit and try it again from scratch.

cbr929rrerion
11-03-2005, 08:18 PM
well.. I found the file you mean.. Im not sure what has been altered, I have a hack to play video inline in the gallery, not sure if thats there or where.. I can send you the file..

davidw
11-03-2005, 08:24 PM
Ok, I think I found the offending issue:
It works now.
The problem was fixed after I removed the PM attachments plugin (it didn't work anyways). Once I removed that plugin, the test MP3 showed up inline. I installed the product and it worked. Now, to make XML edits for wav files.

cbr929rrerion
11-03-2005, 08:26 PM
I have the pm attachement also but mine works.. Humm...

davidw
11-03-2005, 08:32 PM
Could be a conflict then ...

cbr929rrerion
11-03-2005, 08:38 PM
ok.. its working but I got 2 displays with every upload.. first it was none.. now 2 of everything...lol

Moya
11-03-2005, 08:39 PM
I haven't try the pm attachment yet.

Cbr,

You can test it by turn off the pm attachment feature temporary.

davidw
11-03-2005, 08:43 PM
I had that issue earlier (you're catching up :D )

cbr929rrerion
11-03-2005, 09:10 PM
its working but showing doubles again

cbr929rrerion
11-03-2005, 09:58 PM
I have 2 inline attachements, 1 is a plugin, 1 is a product..

If I turn one or the other off It all works except AVI, if both are active AVI works but I get doubles of other stuff.. which one is yours .. a product or plug in?

cbr929rrerion
11-03-2005, 10:02 PM
I just uninstalled one of them.. can you go look at it now.. it looks like its looking for how to open and just leaves a link.. thanks...

Moya
11-03-2005, 10:58 PM
Mine is product. The pm attachment is a plugin

cbr929rrerion
11-03-2005, 11:03 PM
correct, I uninstalled one that was a plug in that was causing the doubles.. it works on all the file types now except avi, I loked over the xml and there is a embed for all file types excpt avi, can you check that or take a look at it now to see if it can play avi..

my site is mainly video, avi, mpg, mpeg, wmv, etc..

the mp3, wmv, wma, swf work now.. but avi dont.. its the biggie.. or even mpg/mpeg would be good...

thank you sooooooooooo much for your help.

R

Moya
11-03-2005, 11:18 PM
uhmmm I might have to take a look at your class_postbit template

Moya
11-03-2005, 11:48 PM
Let me have ftp access rights.

Gosh your board looks really good with window media player version 9 and later

cbr929rrerion
11-04-2005, 12:34 AM
send me an email to rick@crotchrocketracing.com

Moya
11-04-2005, 01:31 AM
Uhmmmm don't post that file up here. Check out your video forum

cbr929rrerion
11-04-2005, 01:51 AM
DUDE... You are the bomb... I mean serious... everything works... I can play video inline and also send them and they play inline in private messages...

So now I have inline video in my gallery, in my post and in private messages...

I only know you by stitch but you are awesome. I never expected this kind of support or effort. I never could have done it with out your help. You are a "Example" of perfection.

I hope those that run and visit this site know how valuable you are and you have really impressed me.

If there is anything I can do for you let me know..

You rock...

cbr929rrerion
11-04-2005, 01:57 AM
humm.. ok.. on avi it loads 2 ... one named mp3 one named avi...

double display 1 upload.. did ya notice that?

Moya
11-04-2005, 01:59 AM
What happen was that you still have the old file modification code from the old version. I removed that and enable the plugin.

I also fix the double avi for you. It was a typo that I have in the code.

I am glad that you like this hack. Have fun!!

cbr929rrerion
11-04-2005, 02:53 AM
How can I fix or get rid of the link, its all gibberish still.. any idea?

Moya
11-04-2005, 04:04 AM
How can I fix or get rid of the link, its all gibberish still.. any idea?

It means that the browser is trying to open the file.

redspider
11-04-2005, 09:37 AM
stitch any chance you can come to my forum and find why is not working for me ?
TIA

Moya
11-04-2005, 03:10 PM
stitch any chance you can come to my forum and find why is not working for me ?
TIA

Can you give the link :nervous:

cbr929rrerion
11-04-2005, 08:30 PM
any chance ya got mpeg to work? you can replace mp3 for mpeg ..

Moya
11-04-2005, 08:58 PM
any chance ya got mpeg to work? you can replace mp3 for mpeg ..


I left you a note in admincp.

Basically, you board now support

mov, mpeg, mpg, mpa, mp4, swf, swc, wma,wmv, avi,mp3

mov, and mp4 are apple quick time. Your members have to have the plugin installed

Your board has a max upload size = 2mb. I suggest that you should increase this size. I have on my board for like 45MB.

cbr929rrerion
11-04-2005, 09:43 PM
ok.. where would i find those notes..lol

cbr929rrerion
11-04-2005, 09:56 PM
this is what I get with mov files

cbr929rrerion
11-04-2005, 09:59 PM
mpeg works but does doubles...

cbr929rrerion
11-04-2005, 10:13 PM
ok.. they all work except mov, it dont work at all, close but no.. mpg and mpeg does work but you get doubles...

and the attached shows what I get on some other ones, the lines under them./.. Can you take a look please.. thanks

Moya
11-04-2005, 11:17 PM
ok.. they all work except mov, it dont work at all, close but no.. mpg and mpeg does work but you get doubles...

and the attached shows what I get on some other ones, the lines under them./.. Can you take a look please.. thanks

I will take a look when I have a chance. Maybe over the weekend though :D :D

redspider
11-04-2005, 11:20 PM
Can you give the link :nervous:
I will send you a pm with link and login.

cbr929rrerion
11-05-2005, 12:09 AM
as soon as you can would be appreciated.. thanks..

Moya
11-05-2005, 04:25 AM
I will send you a pm with link and login.


Done!

Take a look

Moya
11-05-2005, 04:26 AM
as soon as you can would be appreciated.. thanks..

Done! I have to change the admin pannel to silver background because I couldn't recognized the selected text vs the background

cbr929rrerion
11-05-2005, 04:39 AM
OK... It will not upload wmv at all, goes thru process and disappears..

so far mpg, mpeg and avi do work

cbr929rrerion
11-05-2005, 04:42 AM
ok.. I take that back.. it took a file size 345kb but tried one 3.5mb and it dont, I have it set to 5mb

Moya
11-05-2005, 04:44 AM
It is the max file upload size restriction on your site. It only allow 2MB. This is the setting within php.ini. It is server level. If you have access to this php.in, then change the setting anhd restart your server.

cbr929rrerion
11-05-2005, 04:52 AM
same think with mov files size 4.5mb

cbr929rrerion
11-05-2005, 04:57 AM
where is that located, in my admin or where?

Moya
11-05-2005, 05:00 AM
It should be under your php directory or window directory

cbr929rrerion
11-05-2005, 05:23 AM
mov files still dont work.. not even a play button.. please go look

cbr929rrerion
11-05-2005, 05:27 AM
ok.. they all work except mov, it loads a box but nothing in it and no play buttons..

Moya
11-05-2005, 06:15 AM
ok.. they all work except mov, it loads a box but nothing in it and no play buttons..

It is playing. Here is what i see on your site

cbr929rrerion
11-05-2005, 10:58 PM
how come my browser will not let me see it?

cbr929rrerion
11-06-2005, 12:02 AM
Ok.. I updated to the latest quicktime version and it plays now, only problem is there are no buttons to start, stop, etc.. I want it not to be autostart and the user click it..

Last request and I will leave ya alone.. lol

You have been an awesome help and have gone above and beyond helping me.

You truely are an inspiration...

cbr929rrerion
11-06-2005, 12:36 AM
ok.. I downloaded firefox and the buttons are there in firefox but not in ie.. ? Ideas?

** update**
I set it to not autostart and it will not auto start in IE, but no controller bar..

Firefox there is a controller bar but it auto starts...

any ideas?

Moya
11-06-2005, 09:01 AM
Honestly, I don't have understand this myself. I think this the problem with plugin in I.E. I have the same problem.

cbr929rrerion
11-06-2005, 11:55 PM
Stitch.. I went into the Quicktime player, and set it not to auto start.. and now it works perfectly on firefox but still no control bar on IE and IE autostarts even tho is set to false.

I have no clue, I dont want it eating band with everytime someone opens the thread. not sure where to go from this point..

Moya
11-07-2005, 01:28 AM
I try to open yours site on my computer and experience the same problem. However, I didn't have have that problem when I open my my site on different computer. Among other things, I think this is server related. I couldn't figure it out.

cbr929rrerion
11-07-2005, 02:39 AM
thats fine.. I appreciate all your help.. Now I am trying to find out how to get my home page aligned left again.. I messed around and centered it and apparently no one has a clue how I can fix it..

davidw
11-07-2005, 09:20 AM
I was thinking it might be something in the XML in regards to autostarting. I could look later.

Snoop-It
11-07-2005, 09:33 PM
Is there a chance of putting this feature into a users page..

https://vborg.vbsupport.ru/showthread.php?t=91903&page=1&pp=15

The hack that gives users their own page... would be great if they can add this as an "extra feature" since there is no attachment feature on that. Any ideas how i would do this any one?? or can any one do it for me? :nervous:

cbr929rrerion
11-08-2005, 01:54 AM
I edited the xml to not auto start. it appears to be an IE problem.. it works fine in firefox..

unfortunately majority of the users use IE..

rb290
11-09-2005, 05:42 PM
whats an example of a video i can play?
like can you give me a code to post and see if this works ?

Moya
11-09-2005, 05:53 PM
whats an example of a video i can play?
like can you give me a code to post and see if this works ?

This code supports:


mov, mpa, mpeg, mpg, mp4, wma, real, wma, wmv, avi


Right now my board is under heavy modification and it is not open for demo yet.

davidw
11-09-2005, 05:55 PM
Hey stitch, will the xml be updated for those extensions?

gameslover
11-09-2005, 06:09 PM
This code supports:


mov, mpa, mpeg, mpg, mp4, wma, real, wma, wmv, avi


Right now my board is under heavy modification and it is not open for demo yet.
Hello,

What are the mime types for the other extensions (mov, mpa, mpeg, mpg, mp4 and real) please ?

Thanks you ^^

Moya
11-09-2005, 06:10 PM
I just pull the one from my site and upload it up here. Look for the update template code too.

One thing I encounter is that you have to setup the mime in this format for the player to play properly

Content-type: + mime type

Moya
11-09-2005, 06:27 PM
Hello,

What are the mime types for the other extensions (mov, mpa, mpeg, mpg, mp4 and real) please ?

Thanks you ^^


Here we go


WMA ? Content-type: audio/x-ms-wma
WMV ? Content-type: video/x-ms-wmv
MP3 ? Content-type: audio/x-mp3
SWF ? Content-type: application/x-shockwave-flash
AVI ? Content-type: video/x-ms-avi
MOV ? Content-type: video/quicktime
MP4 ? Content-type: video/quicktime
MPEG ? Content-type: video/mpeg
MPG ? Content-type: video/mpeg
RAM ? Content-type: audio/x-pn-realaudio
RM ? Content-type: audio/x-pn-realaudio
SWC ? Content-type: application/x-shockwave-flash

rb290
11-10-2005, 05:44 AM
hey i meant, how does this work, what do we put in a post to play a video?

cbr929rrerion
11-10-2005, 02:21 PM
Stitch... If it was me I would not support MOV files as of yet, its not working in IE correctly yet...

Moya
11-10-2005, 03:35 PM
hey i meant, how does this work, what do we put in a post to play a video?

You create the attachment type, upload the product, and test it out with your attachment system.

You don't have to put anything in a post. This product will recognize your attachements file type and play them.

cbr929rrerion,

You are correct. I think MOV is depended on server setup or something. It works on mine, but it doesn't work on yours. :nervous: I put it in there just in case someone need it

rb290
11-11-2005, 12:33 AM
so you gotta go to the attachments in the admin cp and click add extentions ?

"vc.avi:
Upload of file failed."

uploaded a video and it failed

rb290
11-11-2005, 02:04 AM
ok .wmv works for me but i think thats the only video extention that works

.avi doesnt, i didnt try the other ones but their is only a thumbnail pic for wmv so im guessing thats the only one that works??

rb290
11-11-2005, 04:07 AM
P.s. Please Make This Work For Firefox Somehow Thanks

Moya
11-11-2005, 04:15 AM
You will have to install plug in for FF.

BTW: Can I take a look at your board?

puertoblack2003
11-11-2005, 06:49 PM
good day,

for some reason can't download xml file any idea's

thanks

i'm using i.e tried in firefox and same problem

Moya
11-12-2005, 03:16 AM
good day,

for some reason can't download xml file any idea's


I am not sure what happens. You might want to contact the moderators or admin here.

Wordplay
11-12-2005, 09:04 AM
i cant find anything along the lines flashattachment attached_flash or wmaattachment only attached_others.
???

puertoblack2003
11-13-2005, 12:11 AM
I am not sure what happens. You might want to contact the moderators or admin here.

thanks for the relpy, i figured it out i had to do some work but got it and installed....1 thing works well with ie but not firefox u stated on the post above to get a plugin do u know wat plugin it is ?

thanks

Moya
11-13-2005, 04:18 AM
thanks for the relpy, i figured it out i had to do some work but got it and installed....1 thing works well with ie but not firefox u stated on the post above to get a plugin do u know wat plugin it is ?

thanks

Usually the browser will tell you what kind of plugin it is is looking for. I have run into this problem with FF and for some unknown reason it starts working. I am not sure how to fix that.

Wordplay
11-13-2005, 06:39 AM
hmm...

JohnBee
11-17-2005, 03:08 PM
Installed, looks fine, nothing plays though.

It does show a busy message as though loading, but when I hit play it simply flashes and does nothing.

I tried with .vmw .avi and a few other formats. using 3.5.1 - tested in Firefox and iE same results.

Moya
11-17-2005, 03:23 PM
Can I take a look at your site!

Wordplay
11-19-2005, 10:24 PM
i dont quite get this... installed the plug in... but now how do my members upload the videos? do i have to add new extensions? and it'll know what to do with them, because they dont show up in the file types allowed for the attachment upload when uploading attachments...

Wordplay
11-20-2005, 08:09 PM
Installed, looks fine, nothing plays though.

It does show a busy message as though loading, but when I hit play it simply flashes and does nothing.

I tried with .vmw .avi and a few other formats. using 3.5.1 - tested in Firefox and iE same results.

exact same problem... please let me know if you get it fixed john.

Moya
11-20-2005, 09:04 PM
Can you have your profile update to correct site. I try to go to your site without any luck

nubian
11-21-2005, 03:12 AM
question ?

i'm very new to 3.5.1 but have experience with 3.0.8.
is this hack where you physically upload files like mpegs, swf's. etc up into your server or do you have the ability to reference your media files from another server where these media files reside?

fiber_cut
11-21-2005, 04:38 AM
I installed the xml plugin/product and added the ext type and I dont get anyting other than a regular attatchment add..

My board has a 30 meg upload limit

I am using 3.5.1

I added the extensions using the following -
Content-type: audio/x-ms-wma
Content-type: video/x-ms-wmv
Content-type: audio/x-mp3
Content-type: video/mpeg
Content-type: video/mpeg

I have never had the prior hack installed, This is a fresh install.

If you want to see the site in question it is www.bowlingballexchange.com

Any idea's?

Moya
11-21-2005, 07:21 AM
I installed the xml plugin/product and added the ext type and I dont get anyting other than a regular attatchment add..

My board has a 30 meg upload limit

I am using 3.5.1

I added the extensions using the following -
Content-type: audio/x-ms-wma
Content-type: video/x-ms-wmv
Content-type: audio/x-mp3
Content-type: video/mpeg
Content-type: video/mpeg

I have never had the prior hack installed, This is a fresh install.

If you want to see the site in question it is www.bowlingballexchange.com

Any idea's?


Did you add the additional information onto postbit_attachment template?

Moya
11-21-2005, 07:22 AM
question ?

i'm very new to 3.5.1 but have experience with 3.0.8.
is this hack where you physically upload files like mpegs, swf's. etc up into your server or do you have the ability to reference your media files from another server where these media files reside?

This is the one that let's you upload and use vb attachment system to play your files inline. It requires correct user's permissions

fiber_cut
11-21-2005, 02:06 PM
Did you add the additional information onto postbit_attachment template?

Yes sure did. After looking this morningthe only file type of the ones I used that will play is wmv none of the others will still jsut an attatchment.

Moya
11-21-2005, 03:03 PM
I register my name at your site can you grant me admin access fo now.

Thanks

unknowngiver
11-24-2005, 02:49 PM
Is it possible to allow only ADMINS to use this function

Moya
11-24-2005, 07:38 PM
Is it possible to allow only ADMINS to use this function

The ability to upload and download attachment is based on usergroup permission. You can find it under usergroup settings

unknowngiver
11-25-2005, 12:42 PM
well i want all the users to be able to download it [see it] but i only want the admins to be able to upload it..the users can upload images n zip files ..but not the flash files? is tht possible

Moya
11-25-2005, 03:15 PM
well i want all the users to be able to download it [see it] but i only want the admins to be able to upload it..the users can upload images n zip files ..but not the flash files? is tht possible

Uhmmm I don't think the current vB attachment system can do that. You will need a separate hack for it. :nervous:

croportal
11-25-2005, 08:27 PM
nice job thanks

cbr929rrerion
12-13-2005, 01:22 AM
stitch

on my site if you click the attachement link to save it or download it it just gives a php file or scambled text, I want them to be able to download it too.. how can I fix that? it not linking to the file...

www.crotchrocketracing.com

Mastar
12-13-2005, 01:58 AM
is there an option in the acp for this? I uploaded the product, where should I go next?

cbr929rrerion
12-14-2005, 12:46 AM
Stitch help... The links dont work.. help....

Moya
12-14-2005, 03:33 AM
is there an option in the acp for this? I uploaded the product, where should I go next?

Uhmm no there is no acp for this one

Mastar
12-14-2005, 03:45 AM
Uhmm no there is no acp for this one

I installed the product and added the extentions. What shoud I do next?

Moya
12-14-2005, 03:29 PM
I installed the product and added the extentions. What shoud I do next?

After you modify the template, you are good to go. Your member can upload and listen to music inline if they have permission. This hack is tied to your attachment's permission

Moya
12-14-2005, 03:41 PM
stitch

on my site if you click the attachement link to save it or download it it just gives a php file or scambled text, I want them to be able to download it too.. how can I fix that? it not linking to the file...

www.crotchrocketracing.com (http://www.crotchrocketracing.com)

Can you set that extension to open the same window? I don't have a definite answer for this one because I have the same problem on my site.

cbr929rrerion
12-14-2005, 03:44 PM
I was reading on VBulletin.com that alot of people have that issue.. not sure if its a bug or what... Its is mentioned in the bug section.. The links work ok in vbgallery

Go check out bugs at vbulletin.com and see if that makes any sense to ya.. it appears they are not putting much of a importance on it.. Or maybe I just not read deep enough..

Can any of you VB folks respond?

teamgofast
12-17-2005, 10:05 PM
hmmm i wasnt able to upload from the computer, and i was only able to upload one file from a url, the rest failed to load? weird

teamgofast
12-18-2005, 12:41 AM
i uninstalled this one and went with the bbcode version, thnxs!

Zia
12-19-2005, 04:49 AM
hello..

no doubt this hack allready a famous n nice ...m scaring..
can any one show up a perfectly working site???

Please....thanks

Jet Blast
12-20-2005, 04:00 AM
Hi!
I'm new to v.bull. :o
I just want to confirm, that I delete ALL the code in postbit, and postbig legacy templates?

I'm not sure what you mean by "REMOVE"???
I don't see an option to remove template. :o :o

Thanks for your help. Looks like a cool mod.

Moya
12-20-2005, 04:33 AM
Hi!
I'm new to v.bull. :o
I just want to confirm, that I delete ALL the code in postbit, and postbig legacy templates?

I'm not sure what you mean by "REMOVE"???
I don't see an option to remove template. :o :o

Thanks for your help. Looks like a cool mod.

If this is the first time you install this mod you don't have to do anything.

Jet Blast
12-20-2005, 04:52 AM
If this is the first time you install this mod you don't have to do anything.

Except add to pitpost attachment, and upload xml file.
Correct?

fatalsex
12-23-2005, 11:28 PM
Stitch.. have you had a chance to look at my site yet?

just GREAT! But my counter of VIEWS are 0... it doesnt work.. :(

how can i repair ?

cbr929rrerion
12-24-2005, 03:09 AM
Hey.. Question

.mov files worked on my site but they would autoplay, if I change the settings they work in IE but still autoplay in firefox and vice versa, I want to use them but I do NOT want them to autoplay in any browser.. did you figure that out? if so whats the solution?

Thanks

croportal
12-26-2005, 04:43 PM
i have upload this product on my 3.5.0 vbulletin www.croportal.net and it doesnt working

croportal
12-26-2005, 05:30 PM
oh stupid me i didnt add this

<tr>
<td width=450 colspan="2">

<if condition="$show[realattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_real] $realfilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[realattachments]
</div>
</fieldset>

</if>


<if condition="$show[movattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_mov] $movfilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[movattachments]
</div>
</fieldset>

</if>

<if condition="$show[flashattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attached_flash] $flashfilename </legend>

<div style="padding:$stylevar[formspacer]px">
$post[flashattachments]
</div>
</fieldset>

</if>

<if condition="$show[pdfattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_pdf] $pdffilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[pdfattachments]
</div>
</fieldset>

</if>

<if condition="$show[aviattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_avi] $avifilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[aviattachments]
</div>
</fieldset>

</if>

<if condition="$show[mpgattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_pdf] $mpgfilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[mpgattachments]
</div>
</fieldset>

</if>
<if condition="$show[mpegattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_pdf] $mepgfilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[mepgattachments]
</div>
</fieldset>

</if>



<if condition="$show[wmaattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_wma] $wmafilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[wmaattachments]
</div>
</fieldset>

</if>

<if condition="$show[wmvattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_wmv] $wmvfilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[wmvattachments]



</div>
</fieldset>

</if>

<if condition="$show[mp3attachment]">
<fieldset class="fieldset">
<legend>

$vbphrase[attach_mp3] $mp3filename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[mp3attachments]

</div>
</fieldset>

</if>


</td>
</tr>



can u tell me

i want hack wich when i upload from computer have a link to download not played inline, and when i go to this link www.croportal.net/media/somefile.wmv

i put this link in bbcode www.croportal.net/media/somefile.wmv

and then playing, not when i upload from computer

buffness
12-27-2005, 03:50 PM
keep getting this when trying to upload the files Invalid File

jarcher
01-16-2006, 05:20 PM
I keep getting invalid file or invalid link specified on larger files
when they do upload they dont play and when downloaded
its attachment.php
got one one sec mpg to play
edit:
closed browser
checked the attachment
now just a player

browsehosts
01-24-2006, 10:55 PM
Does this work with Quicktime & Flash & Windows Media Player?

Is there any way for users to see a list of all their media files?

markbolyard
01-24-2006, 11:57 PM
Curious, All media types are working for me but those with mpeg extension. With a mpeg extension, it just shows the attached file.

iamnofear
01-29-2006, 09:24 PM
it seems to be that every1 can download the media file(with 3.5.3) . How can I prevent guest from downloading ?

moonclamp
01-30-2006, 11:48 PM
I've noticed that if I edit a post and add a second attachment, I get the first attachment repeated.

EG. I make a new post with an mp3 attachment -> I go back and edit the post to add a second mp3 -> result = 2 instances of the first mp3 and 1 of the second.

Otherwise it works great

noreturn
02-02-2006, 01:56 AM
Hi - can anyone add to this mod to play .asx extension too? Many of music videos I am getting are in that format.
Thanks for any help.

noreturn
02-04-2006, 06:06 PM
Now Sat Feb 4th.
Does any one know...Is Moya answering questions about this hack any longer? Or is there another coder that can edit this code to make .asx extensions also play? Of course will pay.

Some one let me know either way please...thanks all.

defcon_420
04-05-2006, 11:00 AM
sweet it installed no problem "Clicks Install" :)

instructions could be a little clearer as i had to read thru the whole thread to understand the install but works like a charm

defcon_420
04-11-2006, 01:40 PM
uninstalled it cause some file types crash my users machines :( shame looked promising

eXtremeTim
09-01-2006, 01:52 AM
This hack did have some issues that I just sorted out. I am going to try and contact the author to see what they are doing with it.

I have fixed the posting ability of multiple attachments of the same file type where they start showing the prior ones. I am also looking to expand on the media capacity of this. Plus I have it working on 3.6.

badboyz
09-03-2006, 04:23 PM
i coundnt find this

and i can play live links in this?




<if condition="$show[flashattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attached_flash] $flashfilename </legend>

<div style="padding:$stylevar[formspacer]px">
$post[flashattachments]
</div>
</fieldset>

</if>



<if condition="$show[wmaattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_wma] $wmafilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[wmaattachments]
</div>
</fieldset>

</if>

<if condition="$show[wmvattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_wmv] $wmvfilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[wmvattachments]



</div>
</fieldset>

</if>

<if condition="$show[mp3attachment]">
<fieldset class="fieldset">
<legend>

$vbphrase[attach_mp3] $mp3filename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[mp3attachments]

</div>
</fieldset>

</if>


:(

cunder
09-08-2006, 02:33 PM
Hello
works these also on Vbulletin 3.6.0 if not!
can someone help me please to get him work on Vbulletin 3.6.0 end on firefox please!
thanks

MR.BOSS
10-11-2007, 07:59 AM
<font color="Red">Can someone make this hack work on 3.6x , thanks</font>

Mr saleki
04-05-2008, 07:55 PM
good job ... thanks