betweenGo

Archive for April, 2009

YouTube Embedded Player Parameters

by Frank Kim on Apr.17, 2009, under Web

Here is a page describing the YouTube Embedded Player Parameters.  These parameters are query parameters you can add to the end of the YouTube URL.

There are different parameters you can add to the object and embed statements.  Here is an example.

<object width="320" height="265">
 <param name="movie" value="http://www.youtube.com/v/6sHenGpeGgo&hl=en&fs=1&autoplay=1"></param>
 <param name="allowFullScreen" value="true"></param>
 <param name="allowscriptaccess" value="always"></param
 <param name="wmode" value="transparent"></param>
 <embed src="http://www.youtube.com/v/6sHenGpeGgo&hl=en&fs=1&autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" wmode="transparent" width="320" height="265"></embed>
</object>
  • Share/Bookmark
Leave a Comment : more...

HTTP Proxy

by Frank Kim on Apr.16, 2009, under Web

Recently I was having a problem where a Flash video was not being displayed.  It turned out the Flash video had not been created properly and had a dependency on other Flash files that were not available.  When I was viewing this Flash video directly using JBoss I did not see any errors.  But when I viewed it using Apache the logs showed the dependency problems.

Another developer, Allan Scott, suggested next time I use Charles or Fiddler as HTTP proxies.

Did you try watching the HTTP traffic with a tool like Fiddler or Charles?

If there is a dependency on something and it failed to download it then you should be able to see the 404 or some other error.

  • Share/Bookmark
Leave a Comment :, , more...

Getting the request parameter

by Frank Kim on Apr.10, 2009, under JSTL, Page Development

I always forget how to do this so I thought I should write it down.

In JSP:

<%=request.getParameter("foo")%>
<img src="<%=request.getParameter("foo")%>">

In JSTL:

<c:out value="${param.foo}"/>

In DSP:

<dspel:valueof param="foo"/>
  • Share/Bookmark
Leave a Comment :, , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!