Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3638

YouTube API - When uploading description or title with comma ' its adding escape slash before it \' [closed]

$
0
0

When I'm uploading a title or a description from my webapp through the YouTube API (PHP) its adding a trailing slash ( php escape slash ) before the character

example:

I have a text area that has the word:

here's

when submitted I'm uploading to youtube like this:$videoSnippet->setDescription( "$video_description" );

but when it uploads, it shows as:

here's

How do I avoid this?

I tried stripslashes() did not help


Viewing all articles
Browse latest Browse all 3638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>