Jump to content

matt11

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by matt11

  1. this has bugged me a couple of times now.

    what does this information mean :

    #EXTINF:-1,Amsterdam Netherlands HD

    rtmp://$OPT:rtmp-raw=rtmp://video4.earthcam.com/fecnetwork/4098.flv.flv pageUrl=http://www.earthcam.com swfUrl=http://www.earthcam.com/swf/cam_player_v2/ecnPlayer.swf?20120504_a live=1

     

    i understand pageUrl, but how do i open swfUrl ?

    and this first part

    rtmp://$OPT:rtmp-raw=rtmp://video4.earthcam.com/fecnetwork/4098.flv.flv

    how do i open that ?

    Or does this whole thing go into some program that then opens that stream ?

  2. ok, now ...

     

    Users database is created and has UserProfile and some other empty tables.

     

    _AppStart.cshtml:

    @{

    WebSecurity.InitializeDatabaseConnection("Users", "UserProfile", "UserId", "Email", true);

    }

     

    Default.cshtml:

    @{

    WebSecurity.CreateAccount("tom2", "23456", false);

    }

    <html>

    <body>

    <p>It is value</p>

    </body>

    </html>

     

    i get an error on line: WebSecurity.CreateAccount("tom2", "23456", false);

    Description: An unhandled exception occurred during the execution of the current web request.

    Exception Details: System.Web.Security.MembershipCreateUserException: The Provider encountered an unknown error.

  3. Following ASP.NET tutorial, i have a problem (can't figure out how to) with creating account/logging into a database.

     

    database: http://postimg.org/image/6k4ew5kkp/

     

    _AppStart.cshtml:

    @{

    WebSecurity.InitializeDatabaseConnection("SmallBakery", "Product", "Id", "Name", true);

    }

     

    i have added :

    <appSettings>

    <add key="enableSimpleMembership" value="true" />

    </appSettings>

    into Web.config

     

    Default.cshtml:

    @{

    bool value=WebSecurity.Login("Bread", "parabola", true);

    }

    <html>

    <body>

    <p>It is @value</p>

    </body>

    </html>

     

    returns: It is False

     

    also some other tables are created i dont know why ?: http://postimg.org/image/g3e3pm82x/

     

    i think it's something password related, bcz UserExists() and GetUserId() work.

  4. ok thishttp://www.displaycalibration.com/resolution.html and your codetold me my display resolution is 1024x819 ( down from default 1280x1024 bcz i increased font size in windows to medium - 125% ) so this containerhttp://www.w3schools.com/bootstrap/tryit.asp?filename=trybs_grid_large&stacked=hturns out 943px wide which is just under 992px needed for col-md so thats why it is using col-sm-* setting.On the phone and tablet in landscape it's 962px so again should be using col-sm-* which it is, so i guess it's all fine then.Thanks and sorry for the confusion.

  5. i don't have a phone with that resolution, mine is 720x1280 which is under 768 needed for col-sm-* so on this pagehttp://www.w3schools.com/bootstrap/tryit.asp?filename=trybs_grid_large&stacked=hit should show stacked ? but it shows 3/9 split.if i turn it to landscape, so it's 1280 wide and should show 4/8, it again shows 3/9 split.same thing with a tablet in landscape mode 1280 wide.But what has screen size got to do with screen resolution anyway?That was my point with the QHD screen (2560x1440) on a 5.5" smartphone.Looking at the documentation:Extra small devices Phones (<768px) Small devices Tablets (≥768px) Medium devices Desktops (≥992px) Large devices Desktops (≥1200px)by the description it would be a extra small (maybe a small device - phone/tablet - phablet ),but by the resolution it would be a large device.?

  6. browser is maximized but it always looks at col-sm-*.

    If i don't have col-sm-* but only have col-md-* or col-lg-* he stacks the columns vertically.

    Also what is the size in pixels of a maximized browser window on a smartphone with a 5" screen and a 1440x2560 resolution? Under which col-*- does that fall under ?

×
×
  • Create New...