Support Forums

Video Embed issue using Extra Fields!

This is a discussion on Video Embed issue using Extra Fields! within the Technical Support forums, part of the Technical Support Forums category; Hello Folks! I was excited to learn today that you could use extra fields to allow embed of videos. I ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 03-03-2011, 03:03 AM   #1
Customer
 
arivederchi's Avatar
 
Join Date: Aug 2008
Posts: 36
Rep Power: 13
arivederchi is on a distinguished road
Default Video Embed issue using Extra Fields!

Hello Folks!

I was excited to learn today that you could use extra fields to allow embed of videos. I followed the instructions in the extra fields documentation word by word but I don't seem to be getting it to work.

1. I set up the text option with multiline field

2. In checkout settings I added the html tags below:

<b><strong><p><param><embed><object></param></embed></object><iframe></iframe><script></script>

3. When creating a listing, the extra field shows up just fine, so I inserted a embed code that I grabbed from YouTube. Below is the one I used:

<iframe title="YouTube video player" width="480" height="390" src="http://www.youtube.com/embed/IytNBm8WA1c" frameborder="0" allowfullscreen></iframe>

Finally, after I submit the Ad to go live, I go to view the video to see what it looks like and all I see is the embed code that I put in initially. The extra field seems to be showing up but the embed code shows up instead of the video.

I hope someone can point out what I'm doing wrong and hopefully point me in the right direction.

Thanks!
__________________
Currently Using:
Developer 4.1.10
Sigma Templates
arivederchi is offline   Reply With Quote
Old 03-03-2011, 04:13 AM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Have you actually done what it tells you to do?

Your list is wrong from what I can see.

But why would you do it this way with a module available which gives you more flexibility. You are probably a bit restricted in where you can put it using an extra field. You should also be aware that you are allowing code to be placed into your adverts in general. There is a good opportunity to spam your site with links and insert scripts.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting

Last edited by seymourjames; 03-03-2011 at 04:27 AM.
seymourjames is offline   Reply With Quote
Old 03-03-2011, 04:48 AM   #3
Customer
 
arivederchi's Avatar
 
Join Date: Aug 2008
Posts: 36
Rep Power: 13
arivederchi is on a distinguished road
Default

Trust me, I'm considering the mod but when one is strapped for cash, it's nice to know what other options are available at least for the meanwhile. I recently was laid off from my job and I can't justify spending $30.00 dollars at the moment.

I love the flexibility Larry's mod gives and I would much rather go that route but for now until I get another job I sure would appreciate any help to get the extra field to display YouTube videos.

You said the list I added in the Allowed HTML Tags box was incorrect, would you be so kind to tell me what I did wrong. I would appreciate it very much.

Thanks!
__________________
Currently Using:
Developer 4.1.10
Sigma Templates
arivederchi is offline   Reply With Quote
Old 03-03-2011, 05:36 AM   #4
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

I don't think you need </enoftag> by the way .

Well I just tested on version 4.2.1 and it puts in the code as you say. I tried both the new iframe method and the older embed method. Hopefully Blair will pick up on this for the next version. It may be something we are both doing wrong.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 03-03-2011, 07:38 AM   #5
Staff
 
Join Date: Mar 2006
Posts: 587
Rep Power: 34
Blair will become famous soon enough
Default

It's been added to the bug tracker.
Thanks for bringing it to our attention.
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
Blair is offline   Reply With Quote
Old 03-03-2011, 11:49 AM   #6
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

I was about to do that. I wanted to check again it was not me doing something wrong.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 03-03-2011, 01:55 PM   #7
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,149
Rep Power: 68
John Snyder is a jewel in the rough
Default

If you really want to use the extra field system to add videos you could always take the url as the extra field value, then add the video embed code to your template. Personally, I'd use the module that was already built with this functionality.

Allowing HTML will also allow them to put the video in the description or etc, I would highly discourage this because 4.2.2 has a more aggressive filter and would more than likely remove it even if you allowed HTML like embed or iframe.
__________________
John
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
John Snyder is offline   Reply With Quote
Old 03-03-2011, 02:41 PM   #8
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

I agree completely with John on this.

Sometimes you have to think like a hacker to prevent hacking!

Although allowing these types of tags may achieve your goal, this also opens up everything and anything to be embedded, especially iframes. What would stop a hacker from putting an iframe that goes to their website that injects malicious code such as malware, spamware and/or porn???
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 03-03-2011, 06:17 PM   #9
Customer
 
arivederchi's Avatar
 
Join Date: Aug 2008
Posts: 36
Rep Power: 13
arivederchi is on a distinguished road
Default

Thanks for all the valuable information guys! I will look into getting the YouTube mod.
__________________
Currently Using:
Developer 4.1.10
Sigma Templates
arivederchi is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extra fields issue legallea TemplateCodes 3 08-10-2010 05:02 AM
Issue adding search range on extra fields bollskis Technical Support 12 11-08-2009 07:36 PM
RSS Embed Code adventra Technical Support 1 08-28-2009 07:36 AM
youtube video embed anna245 Technical Support 19 05-07-2008 04:01 PM


All times are GMT -4. The time now is 08:29 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0