Jump to content

StreamMe

Members
  • Posts

    35
  • Joined

  • Last visited

    Never

Posts posted by StreamMe

  1. This example works, but it tells firefox to check the "open in sidebar" option when adding the bookmark. What is the way to add a regular bookmark that opens in the regular browser window?

     

    function bookmark(title,url){
    if (window.sidebar) // firefox
    window.sidebar.addPanel(title, url, "");
    else if(window.opera && window.print){ // opera
    var elem = document.createElement('a');
    elem.setAttribute('href',url);
    elem.setAttribute('title',title);
    elem.setAttribute('rel','sidebar');
    elem.click();
    } 
    else if(document.all)// ie
    window.external.AddFavorite(url, title);
    }

  2. That's pretty funny - asking for user opinions, and then defending all your positions.

     

    If you want to call me a liar, go ahead and think I'm lieing, but just don't ask people to view your site then.

     

    I did browse your site, and REGARDLESS if you have categories, search, tags, etc, if i do not see them, or can not find them, then you tellling me they are there means nothing.  Are you going to tell every single one of your visitors how to use your site?

     

    There is a simple rule you should learn: People are kind of dumb.

    I hope no one takes offense to that because I do not mean to say all of you, are specifically dumb. And I certainly don't walk down the street calling people dumb. But really what it DOES do , is allow you to offer the best and simplest products. If you assume peopel are dumb, that they won't read stuff, that they won't find things, then you will eventually make your product the best it can be , be developing around that concept.

     

    Which brings us full circle to your little post there. It is illogical to defend your opinions, against the opinions of a user; I am the user, you are not. I didn't sit there and code that thing for billions of years, I don't particular have any biased interest in your site (as all users won't )

     

    You have a 3 second window to convince me that your site is valuable, and I didn't see it. There is no arguing with that... how can there be?

     

    Remember, I'm dumb, I don't want to have to FIND the search bar orcategories. This isn't an easter egg hunt.  I don't want to have to THINK about how your site works. I don't want to read 80 pages of the constitution. But hey, that's just me (a typical nobody, online user)

     

    Lastly, regarding the whole money making thing:

     

    1. You are not google.

    2. The first video on the HOME page of your site has a total of 12 views today (1 of which is mine)

     

    Before this turns into a pissing contest, all I want to say is that I personally am all for you making money. It really doesn't affect me much, so why wouldn't I want to see you succeed. I don't know you at all, so really there is absolutely no benefit to seeing you "fail". 

     

    Therefore based on that, you should realize that all of our comments are meant to be constructive. You don't have to defend yourself. You come off as if you are raking in billions of dollars and we are all just so ignorant of how to make money via video sites. All we are saying is that as a historical fact, the biggest, and best video site out there, is not turning a profit. That's it.

     

    So my point about the whole 12 views on the home page is simply to highlight the fact that we are not discouraggns you from making your couple of hundred per month, or hey who knows, maybe a couple of thousand , all we are really doing is exactly what you asked of us - giving you OUR feedback.

     

     

    I just found it difficult to understand how you did not see the search bar, categories or tags. My bad. I wasnt really trying to "defend my opinion", I just figured anyone that could not even notice search bar, categories or tags, to the point of declaring that they are not existent on the site must not have gone to the site at all .. but overall but I think you're right about making sites for stupid people, ill one-up you and try to design it for stupid BLIND people ! lol. But you're right I spent 23982938 hours coding this so I know where everything is within 1 second. Ill consider making visual changes to the header. Thanks for your feedback, and I did not mean to push your button.

     

    I don't need anyones feedback on monetization, but thank you for the website critiques. If you want to believe that veoh, metacafe, youtube, dailymotion, and every other video sharing site operate at a huge loss every month until the end of time, be my guest - and spread the word. If making a video site is just a money pit and nothing more, then don't make one.  (no this is not meant to imply I am raking in billions every month)

  3. Ya, youtube is actually losing money. They are actually LOSING $500,000 a month.  check it out here: http://www.bivingsreport.com/2006/youtube-show-me-the-money/

     

    But your's is a little different. Youtube actually hosts the video and stores it, which requires HUGE HUGE HUGE amounts of bandwidth and severs. It costs a s*** load to maintain them. But you're site isn't actually hosting the video, which is saving you a good amount of bandwidth. But users are often show other videos on that hosting site, thats the problem.

     

    I am hosting and converting all of these videos server-side.

  4. The site looks way too busy in my point of view.

    I have no idea what category I am in. I have no idea if there are even video categories?

     

    There is no search. Essentially i am presented with  A BILLION video options, all of which seemingly have

    no organization, no genre, no tags, no nothing.

     

    I don't want to sound like im just complaining, but from a user standpoint, I would consider these serious issues.

     

    I watched a video about some lady talking about religion - after that, I was lost, so I really didn't ever go back.

     

    Additionally, youtube is a money losing business. It's only possible because google has money to lose.

     

    So how do you propose to scale this?

     

    You did not visit the site if you say it has no categories or search. Its in the typical spot at the top very easy to see. I dont see how you missed that, the tags or the organization. lol.  I don't mean to be snappy, but if people are not going to view a site, then do not try to critique it.

     

    Im glad everyone thinks this is a money losing business :)

     

    and BTW

    I am losing thousands every month, you really should not try to run a video site, spread the word.

  5. To count from 0-9 instead of 1-10, Reading, writing, typing, computers, internet, U.S. constitution, firm skepticism of government, news media, religion and brainwashed peers.

    The most important skill someone can have is the skill which enables a person to pick a topic and learn it or get a job and keep it, persistence.

     

    The most important things I've learned contradict what a politically correct society would like to believe. And I would pass these things on:

    0) Being patriotic does not mean chanting at a flag, agreeing with the president, or being blissfully ignorant.

    1) The government, news media, and religion are full of lies and should never be trusted completely under any circumstances.

    2) Weak people rely on the most common forms of government, news media and religion and concepts thereof to deal with complex problems or ideas.

    3) Most people have no clue what is going on, what they want to do, or what they are talking about.

    4) People that don't speak up get walked on or ignored completely.

     

    That being said, I don't think Ill have kids, since teaching the U.S. constitution (right wing extremism) and skepticism of government would probably be viewed as terrorist training in todays America.

  6. :D

     

     

    I've never been asked for my non-existent High School Diploma

     

    You've never felt bad for not going back to get your diploma? I've always felt I need to atleast finish college.

     

    What is there to feel bad about? Not fitting into societies go to school propaganda? I started buying and selling construction equipment online, filling bids for Halliburton, NASA and the Lebanese Army when I was 19 years old when my friends were starting their first or second year of extended high-school general education Jr college. After having a fallout with the owner (this is when I learned the value of having a contract) of that company I went on and started a top ranking wholesale mortgage site specifically for subprime loans (when subprime was lucrative) and before the bottom fell out of that I was managing 7 account executives and feeding everyone with the website. That site wasnt even dynamic it was just SEO/HTML and some custom graphics.

     

    What can I feel bad about when Im the one thats living? I feel bad for everyone that bought into the big lie.

  7. I put the constitution there as a public service, too many people love it but have no idea what it says.

     

    How is the video description area boring?

     

    Its not a video search engine, right now its a video sharing site, eventually to host live feeds as well as recorded.

  8. Ive successfully ranked sites with 'link schemes'.

     

    Even low quality votes are votes, results speak louder than rumors, im still going to work on these 'link schemes'. It'd be a bad idea to link back to these sites, but to get your link on them cannot be bad.

  9. ive given up on this two table issue as its just....a pain

     

    lets try 1 table

     

    SELECT distinct user_id,* FROM video GROUP BY SUM(rating_total_points) DESC

     

    What am I doing wrong here? - keep in mind there are several videos

     

    so the order its like

    1)sum all the rating_total_points by user_id

    2)order user_id by total desc

     

    Im sure this is really simple but ive spent too many hours on it now im just frazzled

  10. RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^([_A-Za-z0-9-]+)/v/?$ /stream/flvplayer.swf?file=http://streamme.tv/uploads/$1.flv&image=http://streamme.tv/uploads/thumbs/$1.jpg&id=&backcolor=0x000000&frontcolor=0xFFFFFF&lightcolor=0x00FF00&screencolor=0x999999&logo=http://streamme.tv/sm.png&rotatetime=5&recommendations=http://streamme.tv/rec.php&link=http://www.streamme.tv/stream.php?vid=$1&linktarget=_blank&thumbsinplaylist=false&autostart=true [L]
    
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^([_A-Za-z0-9-]+)/?$ /profile.php?redir=$1 [L]

     

    This gives me the flvplayer.swf, however it seems none of the parameters are being passed. I included two rewrites, the first one is the one I have a problem with, the second works perfectly as usual.

     

    Can anyone see how this is not working? im not super good with the mod_rewrite.

  11. A least a high school education, for logical decisions, and as high as a phd in everything?

     

    Have you ever heard of "No Child Left Behind" ?

    lol :)

    It is a weird question

     

    I've never been asked for my non-existent High School Diploma

  12. This is how I learned PHP and MySQL without reading a book, just utilizing 2 screens very quickly. My only prior knowledge of programming was web design for several years and Qbasic back when I was like 13-14.

     

    Leigh McKay and Johnathan Sampson have excellent video tutorials offered for free on their sites. They operate their sites by taking donations.

     

    http://phpvideotutorials.com <-- wow sweet, looks like Leigh has been working a bit on the site and now sells advanced lessons as well.

    http://sampsonresume.com

  13. Hi, doing some work for a friend, dealing with a lead generation co called LeadPoint.

     

    I know I have to use a SERVER POST rather than the FORM POST in order to keep information in my database, as well as posting to lead point, however, I dont know how to do a SERVER POST if it is any different from a FORM POST.

     

    what the dealio?

  14. Im using a lightloader uploader and upload.cgi and just having mad errors for several days, i feel like ive tried everything, need help. I had this working on xilahosting's servers, now I have a dedicated one at 1and1, and this is the only serverside issue im really having right now.

     

    Perl Version: 5.8.8 // PHP 5 // Fedora Core 6 Linux

     

    All CHMOD is 755

    All files were uploaded ASCII

    Permissions and group for all public files, including CGI-BIN files and directory is smtv:psaserv

     

    Running upload.cgi in shell:

    perl -cw upload.cgi
    Name "main::file_upload" used only once: possible typo at upload.cgi line 194.
    Name "main::content_type" used only once: possible typo at upload.cgi line 84.
    upload.cgi syntax OK

     

    Server Error Log:

    Name "main::file_upload" used only once: possible typo at upload.cgi line 194., referer: http://site/lightloader/uploadvid.php
    Name "main::content_type" used only once: possible typo at upload.cgi line 84., referer: http://site/lightloader/uploadvid.php
    Premature end of script headers: upload.cgi, referer: http://site/lightloader/uploadvid.php 

     

    Suexec log repeats

    cmd: upload.cgi

     

    Entire upload.cgi script

    #!/usr/bin/perl -w
    
    # PHP File Uploader with progress bar Version 2.1
    # Copyright (C) Raditha Dissanyake 2003
    # http://www.raditha.com
    # Changed for use with AJAX by Tomas Larsson
    # http://tomas.epineer.se/
    # Extensive modifications for use with JSON by
    # Jeremy Nicoll
    # http://www.SeeMySites.net
    
    
    # Licence:
    # The contents of this file are subject to the Mozilla Public
    # License Version 1.1 (the "License"); you may not use this file
    # except in compliance with the License. You may obtain a copy of
    # the License at http://www.mozilla.org/MPL/
    # 
    # Software distributed under this License is distributed on an "AS
    # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
    # implied. See the License for the specific language governing
    # rights and limitations under the License.
    # 
    # The Initial Developer of the Original Code is Raditha Dissanayake.
    # Portions created by Raditha are Copyright (C) 2003
    # Raditha Dissanayake. All Rights Reserved.
    # 
    
    # CHANGES:
    # As of version 1.00 cookies were abolished!
    # as of version 1.02 stdin is no longer set to non blocking.
    # 1.40 - POST is no longer required and processing is more efficient.
    #	Please refer online docs  for details.
    # 1.42 - The temporary locations were changed, to make it easier to
    #	clean up afterwards.	
    # 1.45.
    #   Changed the way in which the file list is passed to the php handler
    # 2.0  (2006-03-12) (Tomas Larsson)
    #   Changed to work better with AJAX. This meant improved error handling
    #	and no forwarding to php page after successful upload. Also moved settings
    #	in to this file.
    # 2.1  (2006-05-03) (Jeremy Nicoll)
    #   Modified file even for better error handling, and to remove files if they are already
    # present.  This prevents problems with corrupted uploads.  Code removed that would output 
    # JavaScript straight to the browser, as this is done via the PHP upload listener anyway
    # and only caused problems.  
    # 2.1.1 (2006-12-5) (Jeremy Nicoll
    #   Add binary mode for the Windows users
    
    #############
    # SETTINGS! #
    #############
    $max_upload = 104857600; # Set this to whatever you feel suitable for you.
    $tmp_dir ="../lightloader/tempfiles"; # If you change this you need to change it in filestatus.php too.
                          # Also, on *nix systems you may have to set the folder permissions
                          # to 777 in order to get this script to work properly.  
    
    #############
    # /SETTINGS #
    #############
    use CGI;
    use Fcntl qw(:DEFAULT :flock);
    use File::Temp qw/ tempfile tempdir /;
    #use Carp;
    
    
    @qstring=split(/&/,$ENV{'QUERY_STRING'});
    @p1 = split(/=/,$qstring[0]);
    $sessionid = $p1[1];
    $sessionid =~ s/[^a-zA-Z0-9]//g;  # sanitized as suggested by Terrence Johnson.
    
    # don't change the next few lines unless you have a very good reason to.
    
    $post_data_file = "$tmp_dir/$sessionid"."_postdata";
    $monitor_file = "$tmp_dir/$sessionid"."_flength";
    $error_file = "$tmp_dir/$sessionid"."_err";
    $signal_file = "$tmp_dir/$sessionid"."_signal";
    $qstring_file = "$tmp_dir/$sessionid"."_qstring";
    
    #require("./header.cgi");
    
    #carp "$post_data_file and $monitor_file";
    
    $content_type = $ENV{'CONTENT_TYPE'};
    $len = $ENV{'CONTENT_LENGTH'};
    $bRead=0;
    $|=1;
    
    
    sub bye_bye {
    $mes = shift;
    
    # Try to open error file to output message too
    $err_ok = open (ERRFILE,">", $error_file);
    if($err_ok) {
    	print ERRFILE $mes; #write message to file, so can be read from fileprogress.php
    	close (ERRFILE);
    }
    exit;
    }
    
    # see if we are within the allowed limit.
    
    if($len > $max_upload)
    {
    close (STDIN);
    bye_bye("The maximum upload size has been exceeded");
    }
    
    
    #
    # The thing to watch out for is file locking. Only
    # one thread may open a file for writing at any given time.
    # 
    
    if (-e "$post_data_file") {
    unlink("$post_data_file");
    }
    
    if (-e "$monitor_file") {
    unlink("$monitor_file");
    }
    
    if (-e "$error_file") {
      unlink("$error_file");
    }
    
    sysopen(FH, $monitor_file, O_RDWR | O_CREAT)
    or &bye_bye ("cannot open numfile: $!");
    
    # autoflush FH
    $ofh = select(FH); $| = 1; select ($ofh);
    flock(FH, LOCK_EX)
    or  &bye_bye ("Cannot write-lock numfile: $!");
    seek(FH, 0, 0)
    or &bye_bye ("cannot rewind numfile : $!");
    print FH $len;	
    close(FH);	
    
    sleep(1);
    
    
    open(TMP,">","$post_data_file") or &bye_bye ("cannot open temp file");
    binmode TMP, ':raw'; 
    
    #
    # read and store the raw post data on a temporary file so that we can
    # pass it though to a CGI instance later on.
    #
    
    
    
    my $i=0;
    
    $ofh = select(TMP); $| = 1; select ($ofh);
    
    while (read (STDIN ,$LINE, 4096) && $bRead < $len )
    {
    $bRead += length $LINE;
    
    #select(undef, undef, undef,0.35);	# sleep for 0.35 of a second.
    
    # Many thanx to Patrick Knoell who came up with the optimized value for
    # the duration of the sleep
    
    $i++;
    print TMP $LINE;
    }
    
    close (TMP);
    
    #
    # We don't want to decode the post data ourselves. That's like
    # reinventing the wheel. If we handle the post data with the perl
    # CGI module that means the PHP script does not get access to the
    # files, but there is a way around this.
    #
    # We can ask the CGI module to save the files, then we can pass
    # these filenames to the PHP script. In other words instead of
    # giving the raw post data (which contains the 'bodies' of the
    # files), we just send a list of file names.
    #
    
    open(STDIN,"$post_data_file") or &bye_bye("cannot open temp file");
    
    my $cg = new CGI();
    my $qstring="";
    my %vars = $cg->Vars;
    my $j=0;
    
    while(($key,$value) = each %vars)
    {
    
    $file_upload = $cg->param($key);
    
    if(defined $value && $value ne '')
    {	
    
    	my $fh = $cg->upload($key);
    	if(defined $fh)
    	{
    		#carp $fh;
    		($tmp_fh, $tmp_filename) = tempfile();
    
    		while(<$fh>) {
    			print $tmp_fh $_;
    		}
    
    		close($tmp_fh);
    
    		$fsize =(-s $fh);
    
    		$fh =~ s/([^a-zA-Z0-9_\-.])/uc sprintf("%%%02x",ord($1))/eg;
    		$tmp_filename =~ s/([^a-zA-Z0-9_\-.])/uc sprintf("%%%02x",ord($1))/eg;
    		$qstring .= "file[name][$j]=$fh&file[size][$j]=$fsize&";
    		$qstring .= "file[tmp_name][$j]=$tmp_filename&";
    		$j++;
    	}
    	else
    	{
    		$value =~ s/([^a-zA-Z0-9_\-.])/uc sprintf("%%%02x",ord($1))/eg;
    		$qstring .= "$key=$value&" ;
    	}
    }
    }
    
    
    open (SIGNAL,">", $signal_file) or &bye_bye ("cannot open signal file");
    print SIGNAL "\n";
    close (SIGNAL);
    
    open (QSTR,">", "$qstring_file") or &bye_bye ("cannot open output file");
    print QSTR $qstring;
    close (QSTR);
    
    print "<html></html>";
    

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.