summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2009-12-02 22:36:09 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2009-12-02 22:36:09 -0500
commite3b43bd36fd50840467669364014ee53553872c1 (patch)
tree51e170160800b579a2575090d5655f9de80c4595
parentInitial import. (diff)
downloadEmbeddedBrowserPrototype-e3b43bd36fd50840467669364014ee53553872c1.tar.xz
EmbeddedBrowserPrototype-e3b43bd36fd50840467669364014ee53553872c1.zip
Windows updates.
-rw-r--r--BrowserWindow.cpp2
-rw-r--r--Test.html27
2 files changed, 15 insertions, 14 deletions
diff --git a/BrowserWindow.cpp b/BrowserWindow.cpp
index 03cc0f8..2939864 100644
--- a/BrowserWindow.cpp
+++ b/BrowserWindow.cpp
@@ -17,7 +17,7 @@ BrowserWindow::BrowserWindow(QWidget *parent) :
connect(m_browser, SIGNAL(urlChanged(QUrl)), this, SLOT(updateUrlBox(QUrl)));
connect(m_urlBox, SIGNAL(returnPressed()), this, SLOT(navigateToPage()));
m_browser->setPage(new DVDPluginWebPage(m_browser));
- m_browser->load(QString("file:///home/zx2c4/Projects/AnyClipBrowser/Test.html"));
+ m_browser->load(QString("http://www.anyclip.com"));
}
void BrowserWindow::updateUrlBox(const QUrl &url)
{
diff --git a/Test.html b/Test.html
index 98dc690..3ffd565 100644
--- a/Test.html
+++ b/Test.html
@@ -1,13 +1,14 @@
-<html>
- <head>
- <title>Framed</title>
- </head>
- <body>
- <h1>Framed!</h1>
- <object type="application/x-qt-plugin" classid="RandomFrameWidget" name="framed" width=640 height=480></object>
- <script>
- framed.showSource("/dev/dvd");
- </script>
- <br><button onClick="framed.moveToRandomTime()">Next Random Frame</button>
- </body>
-</html>
+<html>
+ <head>
+ <title>Framed</title>
+ </head>
+ <body>
+ <h2>
+ <img src="http://anyclip.com/images/anyclip-logo.png" /><br />
+ Framed!
+ </h2>
+ <object type="application/x-qt-plugin" classid="RandomFrameWidget" name="framed" width="640" height="480"></object>
+ <script language="javascript">framed.showSource("D:\\");</script>
+ <br /><button onclick="framed.moveToRandomTime()">Next Random Frame</button>
+ </body>
+</html>