« Got2VideoのUser Rating Top 20をPodcastRSSとJSONで配信 | Main | ブログ上でYoutubeのお気に入りビデオを再生するU2B Player »

ブログに貼れるMini Movie、G2V Player

前のエントリで書いたとおり、Got2VideoでUser Ratingの高いVideo Top 20のPodcastRSS feedとJSON feedの配信を開始した。でもって作成したのがTop 20のVideoを再生してくれるMini Player、「G2V Player」である。JavaScriptが使えるブログならば下記のSCRIPTタグをサイドバーに貼るだけでOK。当ブログの右サイドバーのてっぺんに表示されてるやつがそれだ。

<script src="http://www.got2do.com/api/G2Vplayer.js" type="text/javascript" charset ="utf-8"></script>

ココログの場合は「マイリスト」→「新規作成(リンク)」→「テキスト表示(設定)」で上記タグを書き込めばOK、livedoorブログの場合は「カスタマイズ/管理」→「プラグインの設定」→「新規追加」→「上級者向けプラグイン(Javascript)」で上記のURLを指定するだけでよい。Javascriptが使えない場合はwww.got2do.com上のHTMLファイルを下記の通りIFRAMEで表示させるという手もある。

<iframe width="160" height="196" src="http://www.got2do.com/lab/G2Vplayer.htm" scrolling="no" frameborder="0" hspace="0" vspace="0" marginheight="0" marginwidth="0"></iframe>

さて、G2Vplayer.jsのソースを読んでもらえば分かるとおり、コード自体は非常にシンプルである。next()、prev()、play()、make()のメソッドを持つplayG2Vオブジェクトを準備し、関数loadG2V(args)で配列argsを渡してplayG2Vのインスタンスを生成する、でもってメソッド実行。あとはお決まりのscriptタグの動的生成でJSON feedを読み込んでやれば関数jsonG2V(args)が実行されるというわけだ。

しかし、ここまでをFirefoxで動作確認した後、IEで表示しようとして大いにはまった。HepCat Dev and Testの「GoogleマップとIEの『開けません。操作は中断されました』」のエントリにある現象同様、このスクリプトをBODY内で実行しようとすると、IEではエラーが生じてしまうのである(厳密には、BODY内のDIVタグ内で実行しようとするとエラーが生じる)。原因の特定にも時間がかかったが、解決策をどうしたものか。HepCat Dev and Testに指摘されている通り、確かにHEAD内にスクリプトを書けばよいのだが、できればブログのBODYのDIVタグ内にSCRIPTタグ一発を書くだけで簡単に実行されるようにしたい。色々調べた結果、WebDeveloper.comのこちらのスレにあるとおり、document内のタグを全部調べて、「HEAD」の次のタグを指定してdocument.insertBefore()すれば「動的にHEAD内にSCRIPTタグを埋め込む」ことができると分かった(BODYタグ指定でinsertBefore()ではエラー)。

というわけで、結論としてはJavascriptの使えるブログなら、上述のSCRIPTタグ一発でG2V Playerを表示できるようになりました。知らんぷりしてそういうことだけ言えばいいのかもしれないんだけど、ちょっと苦労話を語ってみたかっただけ。そんだけ。

|

« Got2VideoのUser Rating Top 20をPodcastRSSとJSONで配信 | Main | ブログ上でYoutubeのお気に入りビデオを再生するU2B Player »

Comments

貼り付けは出来たのですが、ビデオはどうやって入れるんでしょうか?
初心者です。
デジカメや、ビデオの画像を取り込んで、圧縮とかしないといけないんでしょうか?

Posted by: いか | 2006.03.24 at 06:26 AM

mm... funny

Posted by: Tultytita | 2009.04.16 at 09:28 AM

Hi there, I check your new stuff regularly. Your writing style is witty, keep up the good work!

Posted by: Zayn Malik Phone Number | 2014.07.15 at 06:34 AM

Get a sharpie or a highlighter and begin to scan each and every FSBO (For Sale By Owner) add in the paper. The utilization of online services means that you can attract people from all walks of life, and from different regions around the world. The property is available for as long as you want (it's probably not a good idea to ever rent a house for more than a year). With commercial real estate, you get financial leverage combined with long-term, fixed-rate institutional financing combined with partial seller financing. No investor can afford to leave cash in every deal. Making investment decisions, it is best to take into account the actual revenue streams itself in the valuation of assets. Landscaping adds value to your property and also give your home curb appeal. Actually, they are not as complicated as it may seem. There can be cases where an airline is not using all it's leased space, but won't end the lease to prevent other airlines access to the airport. However the production of power costs is very high when compared to other renewable energy and fossil fueled plants.

Posted by: investors realty | 2014.07.22 at 03:53 PM

It must have been a truly exciting spectacle to behold; slightly naughty and thouroughly entertaining. 'Cash Is King' is the property manager's mantra when confronted with the less than perfect applicant. It doesn't matter what you like, Honua Kai Resort & Spa features fantastic alternatives for any Maui getaway sure to captivate all kinds of people. Your income streams are also diversified because you have several different renters. All I have found, if you take the average rainfall of a ten-year period, each following ten-year the average rain has increased, and this continues right the way through. At the same time, the owner of the barn started acting strange; I'd say I'd been there two years. In any shared-living arrangement, the parties should take the time to draw up a list of each expense that will be shared and how much everyone is expected to pay. One of the easiest and safest ways to start gaining real estate investment experience and some spare cash for your future deals is by bird-dogging, or in other words, providing qualified leads to more accomplished investors. m happy to tell you that nothing compares real estate business investment in Uganda. Additionally, chasing down the point person who handles short sales within the lending institution can be problematic and time consuming.

Posted by: ground lease terms to make financial | 2014.07.24 at 02:20 AM

You'll start to see your business come back to life. You can come across boring and run down, or new and exciting. They will advertise their job with a description of what needs to be done and you will have to chance to "bid" and write a proposal for them. Top experts also feel that search engines give more importance to sites with frequently updated content as the info must be time relevant. My name is Leon and I write a blog on social media marketing. You can promote your brand products and maintain an online reputation with continual buzzing through social networks. After all, everyone loves good content and will click on the product links if they are ready to buy something. So, to overcome this issue Facebook likes are now available on online. You could for instance let your subscribers know about your sales volume, the launching of new products or the anniversary of your most popular products. The target consumer segment is, of course, the key purchaser of everything in the household: moms.

Posted by: Delray Beach Social Media company | 2014.07.25 at 10:25 AM

My family all the time say that I am wasting my time here at web, but I know I am getting familiarity daily by reading thes good articles or reviews.

Posted by: Ariana Grande phone number | 2014.07.25 at 02:02 PM

The President just said he's dialing O for O'Malley. The Dura - Kore planking was prepared by sanding off any high spots created by excess cured resin from strip planking joints on the hull, prior to fibre glassing. Most of the email questions I sent to online battery shops netted me sales pitch calls and emails.

Posted by: tundra marine refrigerator parts | 2014.07.26 at 09:44 PM

) The skin dye type that is similar to Copper Tone tans. Sunless tanning, besides being popular as a way of achieving great tans without stepping out into the sun, has also emerged as one of the most effective means of covering up acne marks. Make sure to exfoliate your skin at least once a week while applying tanners. If you are into cellular tanning, there are devices with highly effective converters but light and portable. These methods can be harsh for the skin mechanically and chemically. If you got sensitive skin, it's better to remove hair a couple of days before to avoid rashes. Spray tan in London is also highly sought-after among the tan-lovers because it takes less time and the entire procedure is hassle-free. These companies have a good logistics system and a flexible payment system that makes it easy for the salon owners to make sure that they get the products like the spray tan solution easily. Thoroughly moisturise any dry parts of your skin the day before adding your tan, and you should be able to obtain a realistic and even looking tan. This is to ensure you are protected should anything untoward happen in the salon.

Posted by: san moriz fake Tan | 2014.07.27 at 11:37 AM

So they may have an employment contract for 2 or 3 years subsequent to the actual sale of the business. Of course, it spirals from there if you have 1099 income or use additional schedules, such as income from a business, like Schedule C. These "backlinks" are very important to your CPA website's search engine rankings.

Posted by: Boca Raton CPAt test california | 2014.08.02 at 06:21 AM

Always check with your doctor before starting any new fitness or diet plan For more information on dieting and health visit HCGBlue - Bottle. That list consists of a small apple, a small orange, 4-6 medium strawberries and a half grapefruit. B vitamins include B-1, B-2, B-6, B-12, pantothenic acid, niacin, biotin and folic acid.

Posted by: hcg weightloss drops | 2014.08.04 at 12:55 AM

Techniques and trends like branding, managed care contracts, practice ownership, and sales have not been as affective (Beckman). If you are interested in Lonex you can get more details at. It is better not to ignore Word - Press SEO training as it is very much necessary to be successful online.

Posted by: social media marketing jobs salary | 2014.08.10 at 07:47 PM

s not a surprise to see the growth of this brand expand from Canada to the USA and soon to be recognized internationally. s the perfect time for people to entirely release themselves and embrace nature. For any record, mainly because it's simple isn't going to make it monotonous.

Posted by: midi bodycon dresses | 2014.08.12 at 02:54 AM

Thus we became noobs on the water when we purchased our 1957 Sea King with a 1964 Johnson motor. Keep in mind the Cooper Mountain resort design their activities. So, you will be guided accordingly and will learn better and faster.

Posted by: marine used freezer compressors for sale | 2014.08.12 at 12:13 PM

So they may have an employment contract for 2 or 3 years subsequent to the actual sale of the business. Most of all, these business owners ensure that aside from core functions in their company, that the people and other downstream resources are given the right treatment all the time. Most of us, instead of looking for ways to reduce debt we just keep adding more debt thinking we can somehow we can get out from under all this debt.

Posted by: Fort Lauderdale CPA | 2014.08.13 at 09:50 AM

There are still business opportunities, even in the shaky housing market. Times have definitely changed from when we used to peruse through a newspaper to find an apartment. To really master social media marketing, it's important to have both books, instead of just one.

Posted by: social media marketing examiner | 2014.08.15 at 02:09 PM

The exact same low sodium reduced fat diet plan philosophy is abided by. Failure to Diagnose an Ectopic Pregnancy - Is This Medical Negligence. Program focus is on all round change in life-style as opposed to a short term eating plan modification.

Posted by: hcg weight loss kansas city | 2014.08.18 at 08:44 AM

If you buy them from some foreign manufacturer with no licence then chances are these drops will not work apart from the fact that they will put your health at risk. It is important to follow some exercising regime with the diet plan to gain extra benefits. Yes, HCG is one highly effective product that is capable of giving its consumers a good result from the very first day of its consumption.

Posted by: hcg weight loss supplement | 2014.08.23 at 02:52 PM

He relates his the latest practical experience dealing with thousands of patients with the HCG diet in his new book, New Pounds and Inches which is available at his web site,. In fact, if anything else looks at the pictures of Christian Bale before he went on his diet. Rolls demonstrates that eating these varieties of meals, principally before the main meal, may lead to eating fewer unhealthy calories during the following dinner.

Posted by: acai berry products | 2014.08.26 at 11:17 PM

Be seen by those searching for you online by being represented on the first page of major and local search engines. Many people spend countless dollars on entertainment, sports or hobbies, but finding resources for an online business seems to elude them. Generally speaking, if a website's goal is to monetize content that is not original or high quality, then it is likely that the site has been targeted by Google.

Posted by: social media marketing valentines day | 2014.08.28 at 02:00 AM

The Maharashtra State Tax on Professions, Trades, Callings and Employments Act, 1975 mentions that:. There exist also some job websites that specialize only in accounting vacancies that can be of great chance in the specific situation. These "backlinks" are very important to your CPA website's search engine rankings.

Posted by: Boca Raton Respironics CPA Supplies | 2014.09.04 at 10:34 PM

Islamorada tarpon fishing involves the fishing of an prehistoric rare fish tarpon through the scientific name Magalops Atlanticus which is a prehistoric fish considered to be one in every of the diverse & interesting creatures across the country which can be present in both side of Atlantic also referred to as as the tarpum tarpon or else the silver king due to it's majestic appearance & colour which lays 15 million eggs. Keep in mind the Cooper Mountain resort design their activities. Be sure to vacuum floors, rugs and upholstery your pet comes in contact with regularly.

Posted by: marine refrigerator parts | 2014.09.06 at 07:32 AM

Make sure the content is grammatically perfect, has a simple and easy to understand style, entices the reader, and remains grounded in facts instead of hyperbole. Many people spend countless dollars on entertainment, sports or hobbies, but finding resources for an online business seems to elude them. To really master social media marketing, it's important to have both books, instead of just one.

Posted by: social media Marketing Uses | 2014.09.15 at 03:18 AM

Be seen by those searching for you online by being represented on the first page of major and local search engines. Times have definitely changed from when we used to peruse through a newspaper to find an apartment. Be sure to fully grasp the actual alteration needs connected with any online marketing program prior to deciding to concur.

Posted by: social media marketing for small business | 2014.09.18 at 07:27 PM

So they may have an employment contract for 2 or 3 years subsequent to the actual sale of the business. Most of all, these business owners ensure that aside from core functions in their company, that the people and other downstream resources are given the right treatment all the time. So as you can see, the earning potential with CPA offers is virtually unlimited.

Posted by: Boca Raton CPA duane morris | 2014.09.20 at 09:25 AM

It is very common to experience 2 or 3 pounds of weight loss after the first day. In fact, if anything else looks at the pictures of Christian Bale before he went on his diet. This will be accomplished while the egg cells are stored.

Posted by: weight loss spray hcg | 2014.09.21 at 05:56 AM

Relating to the nights typically the vernal equinox,Cheap Jordans free airline Wing office staff and also American president can be involved in a house game associated with on-line poker, nevertheless retain buying abandoned by many different downturn. Auditory Integration Deficit means we may have trouble linking tone of voice to the meaning of words. You will be able to buy next fashion dress at wholesale prices on liquorish.

Posted by: celebrity dress up games for girls for free | 2014.09.23 at 02:50 AM

Hello there! I could have sworn I've been to this blog before but after looking at many of the articles I realized it's new to me. Anyways, I'm certainly happy I came across it and I'll be bookmarking it and checking back regularly!

Posted by: http://www.sportotoganyanodasi.com/ | 2014.10.01 at 04:46 PM

Frank Breinling is a recognized expert in Affiliate Marketing. Seek for the full encouragement of the people around you so that you'll be motivated to fulfill your targets. The skills you acquire in your training to become a CPA will give you confidence in yourself and your newfound abilities.

Posted by: boca raton cpa firm | 2014.10.21 at 08:57 PM

Get rid of Lumpy skin Thru Natural Therapeutic massage There are just several women who do not suffer the pain of lumpy skin and for that reason there are plenty of "miracle cures" that you can buy that aid in reducing your cellulite. Yet every woman who has attempted it has learned that these anti-cellulite products have no effect. The very best solution to get rid of your dimpled skin may be the oldest strategy in the book! By means of a precise anti-cellulite massage, it will be easy to successfully eliminate cellulite from the thighs, hip and legs along with bottoms.

Posted by: How To Get Rid A Stretch Marks | 2014.10.31 at 01:39 AM

The best thing to do is start the move early, the sooner you get started the more time you will have to address any shortfalls. Three indispensable conditions for an arbitrage are:. Look for testimonials and suggestions that will help in making the job easy. Closer destinations mean shorter distance, lesser time and more profit. If you cannot reach the corners and crevices between the louvers use vacuum cleaner for this. As the city has a very irregular geography, the land is both full and hilly. A few years ago, logistics and transportation services were not as up to date as they are now. Frontline plus for canines is the only kind of flea safety available. Consider getting a washer and dryer combo unit if you are limited on space. Should a company choose to delegate the storage and destruction of confidential documents to another firm, it runs the risk of exposing its documents to the public.

Posted by: west palm beach movers | 2014.11.01 at 12:49 AM

I've learn a few just right stuff here. Definitely worth bookmarking for revisiting. I wonder how so much attempt you put to create this kind of fantastic informative web site.

Posted by: limo | 2015.08.28 at 06:20 AM

Simply desire to say your article is as astonishing. The clarity in your post is simply cool and i can assume you're an expert on this subject. Fine with your permission let me to grab your RSS feed to keep updated with forthcoming post. Thanks a million and please continue the rewarding work.

Posted by: lasertest | 2015.09.11 at 06:37 PM

Post a comment



(Not displayed with comment.)




TrackBack

TrackBack URL for this entry:
http://app.cocolog-nifty.com/t/trackback/20589/9081179

Listed below are links to weblogs that reference ブログに貼れるMini Movie、G2V Player:

» G2V Player、貼ってみました [maruyosi's Annex]
難しいことはわからないけれど、テキスト文を貼りつけるだけならできる、ということで、TEDDY-G本家: ブログに貼れるMini Movie、G2V Player で紹介されていた G2V Player を、このページの左上に貼りつけてみました。 Got2Video で配信している User Rating の高い Video To..... [Read More]

Tracked on 2006.03.13 at 04:52 PM

» ブログに貼れるMini Movie、G2V Player※音が出ます! [ブログパーツをさがせ]
他のブログパーツでもお世話になってるTEDDY-G本家さんがYahoo!検索Webサービスを使って立ち上げされた動画検索サイトのGot2Video。 ?検索結果の動画をサイト内で見ることができる。 ?動画を [Read More]

Tracked on 2006.03.22 at 06:14 PM

» ホームページにミニ動画。 [InternetSeekerBlog]
【ブログに貼れるMini Movie、G2V Player】 BLOGやホームページにブロック(パーツ)として動画を貼り付けることが可能なサービス。 動画そのものは、Yahoo!Webサービスより取得している、GOT2VI [Read More]

Tracked on 2006.04.20 at 04:52 AM

« Got2VideoのUser Rating Top 20をPodcastRSSとJSONで配信 | Main | ブログ上でYoutubeのお気に入りビデオを再生するU2B Player »