Dohhh Up

In which we chat about Hello! Project. And TNX. And Nice Girl Project. Yup.

Moderators: testacles_4, Shoujo Q, momoirosaya

Locked
User avatar
eri
ANGERME
Posts: 3295
Joined: Mon Sep 18, 2006 8:50 pm

Dohhh Up

Post by eri »

...because, I can't stand it. It loads so slowly! I can't watch anything full screen! Gah.
User avatar
Darkolumb
Kenshuusei
Posts: 56
Joined: Mon Sep 18, 2006 4:24 pm

Re: Dohhh Up

Post by Darkolumb »

If by Legal, you mean the official streaming site of UFA then yes, They only made one. Everyone uploads the videos to youtube and whatnot so if you want faster loading times, just use that.
User avatar
Zaeleus
ANGERME
Posts: 2569
Joined: Sun Sep 17, 2006 4:35 pm

Re: Dohhh Up

Post by Zaeleus »

I created a userscript to allow fullscreen video on Dohhh UP!. Don't like watching video in a Flash player? In the information box below the video, this script adds a download link to the flv file as well.



Image --> Image + Image


Code: Select all

// ==UserScript==

// @author	   Zaeleus

// @name		 Dohhh UP! Video Player Replacer

// @namespace	zaeleus.org

// @description  Replaces the Dohhh UP! video player with one with more functionality. (2009-06-29, 2009-07-11)

// @version	  r3

// @include	  http://www.dohhhup.com/movie/*

// ==/UserScript==



var videoId = location.pathname.split('/')[2];

var file = 'http://www.dohhhup.com/movie/'+videoId+'/flv/movie.flv';

var stream = document.getElementById('stream');

var movieWrapper = document.getElementById('Movie_Wrapper');

var divs = movieWrapper.getElementsByTagName('div');

for (var i in divs) {

	if (divs[i].className === 'Movie_Info' || divs[i].className === 'Movie_Info2') {

		var information = divs[i].getElementsByTagName('div')[0];

		break;

	}

}



var downloadAnchor = document.createElement('a');

downloadAnchor.appendChild(document.createTextNode('flv'));

downloadAnchor.setAttribute('class', 'Link_Site');

downloadAnchor.setAttribute('href', file);



var player = document.createElement('embed');

player.setAttribute('id', 'player');

player.setAttribute('src', 'http://zaeleus.org/player.swf');

player.setAttribute('width', 480);

player.setAttribute('height', 380);

player.setAttribute('allowfullscreen', 'true');

player.setAttribute('flashvars', 'file='+file+'&backcolor=4499bb&frontcolor=ffffff&lightcolor=0066ff');

player.style.marginBottom = '28px';



movieWrapper.replaceChild(player, stream);

information.appendChild(document.createElement('br'));

information.appendChild(document.createElement('br'));

information.appendChild(document.createTextNode('Download video: '));

information.appendChild(downloadAnchor);
Changelog
  • 2009-07-11
    • changed the way the movie information box is found so the download link will appear in the correct place when there is Amazon product information
    • changed the player source
  • 2009-06-30
    • replaced the Dohhh UP! player with the JW FLV Player (http://www.longtailvideo.com/players/) for true fullscreen mode
    • added a download link for the flv in the information box below the video
  • 2009-06-29
    • initial release
    • note: One caveat is that the related videos at the end is on the left of the video on load. Click the play/pause button or scrub the video to make it disappear.
Last edited by Zaeleus on Sun Jul 19, 2009 10:52 am, edited 1 time in total.
User avatar
Falcon
Juice=Juice
Posts: 233
Joined: Mon Sep 18, 2006 7:13 am

Re: Dohhh Up

Post by Falcon »

Damn that pretty neato Zaeleus.



You should make a seperate thread about it and include steps on how to use it etc.



Very cool, and thanks.
Locked