laravel - Laravel4 Iframe URL with special chartecter throw NotFoundHttpException -
i'm using laravel4 project.
it's ok when use this:
<iframe src="{{url::to('/'). $video->path}}" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
but when use this:
<iframe src="{{url::to('/'). $video->path}}&autoplay=0" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
the iframe return symfony \ component \ httpkernel \ exception \ notfoundhttpexception.
how can fix this? please me out. smile
i think doing query string wrong.
if url of video is: yoursite.com/video1 , append &autoplay=0, url yoursite.com/video1&autoplay=0 not exist.
change &autoplay=0 ?autoplay=0 see if works.
Comments
Post a Comment