 | |  | | | ReviewPost How do I...? Wondering how to do something in ReviewPost? |
July 15th, 2008, 01:10 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: May 2007
Posts: 58
| How to add an inline video?
I would like for every product in the catalog to have an inline video as well as a picture of the product. It doesn't matter where it is, but a good place would be on the left oft he screen, since the picture is on the right of the screen.
I would like for the video to automatically start playing, when the user arrives at that product's page. If there is no video available for that product, I would like for an image to take its place, that says, "Video coming soon."
What would I have to do set this up?
Thank you
|
| |
July 15th, 2008, 02:49 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
There is no multimedia portion to this product so this is not something you can do without in some way altering your code in some fashion.
|
| |
September 9th, 2008, 06:02 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Feb 2008
Posts: 91
|
Can you add flash code to the head so the review will be able to run flash videos in the reviews?
|
| |
September 9th, 2008, 07:53 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
I guess that would all depend on what you do or enter.
|
| |
September 10th, 2008, 10:24 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Feb 2008
Posts: 91
|
OK, I'll play with the headtags file and see what I can get it to do, if anything.
Thanks!
Buster
Last edited by busterw; September 10th, 2008 at 10:34 AM.
|
| |
September 10th, 2008, 11:06 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Feb 2008
Posts: 91
|
Well crap, if I try to insert <object> or <embed> code into my review and save it, it strips all the code out upon saving. Is there a way around this?
Videos are extremely important in product reviews. vBulletin allows youtube, flash, etc videos in threads. Why won't this function work in ReviewPost or be added as a function of reviewpost?
Thanks!
|
| |
September 10th, 2008, 07:46 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
we strip out harmful html period. we allow normal html but not exploitable html. You can add the tags you want to add in this function in pp-inc.php near the top Code: Content visible to verified customers only.
|
| |
August 27th, 2009, 11:23 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Apr 2002
Posts: 423
|
Chuck, do you know if this works? I have a very important product review that I need to do that video is a must for.
|
| |
August 28th, 2009, 07:34 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
You can try it that is adding those tag commands if your trying to embed something into the description.
|
| |
August 28th, 2009, 08:17 AM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Apr 2002
Posts: 423
|
I am attempting to embed something in the description. So add object and embed into strip_tags? Seems like you would NOT want those stripped.
|
| |
August 28th, 2009, 09:16 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
Thats not how it works PHP: strip_tags - Manual
The html tags listed in that line are the ones allowed.  Everything else is not.
|
| |
August 28th, 2009, 09:42 AM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Apr 2002
Posts: 423
|
Ok that worked, now a follow up question.... Once the video is embedded can I then change the pp-inc back to stock so I don't get any users submitting nasty stuff?
|
| |
August 28th, 2009, 09:58 AM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
No you can not. That is a global function in pp-inc.php and is used to convert things for display. Thats why we do not allow object or embed tags to begin with. Same for iframe because you can include stuff into a page. We just allow the normal html display tags.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 06:09 PM. | |