picturehouse_uk 2.0.5 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -6
  3. data/README.md +9 -1
  4. data/lib/picturehouse_uk.rb +2 -3
  5. data/lib/picturehouse_uk/cinema.rb +24 -12
  6. data/lib/picturehouse_uk/film.rb +3 -5
  7. data/lib/picturehouse_uk/internal/parser/address.rb +37 -0
  8. data/lib/picturehouse_uk/internal/parser/screenings.rb +117 -0
  9. data/lib/picturehouse_uk/internal/title_sanitizer.rb +2 -0
  10. data/lib/picturehouse_uk/internal/website.rb +4 -10
  11. data/lib/picturehouse_uk/screening.rb +5 -15
  12. data/lib/picturehouse_uk/version.rb +2 -2
  13. data/test/fixture_updater.rb +16 -13
  14. data/test/fixtures/cinema/Duke_Of_Yorks.html +2048 -4341
  15. data/test/fixtures/cinema/Dukes_At_Komedia.html +3780 -0
  16. data/test/fixtures/cinema/Phoenix_Picturehouse.html +3465 -0
  17. data/test/fixtures/home.html +487 -1932
  18. data/test/fixtures/info/Duke_Of_Yorks.html +450 -0
  19. data/test/fixtures/info/Dukes_At_Komedia.html +439 -0
  20. data/test/fixtures/info/Phoenix_Picturehouse.html +458 -0
  21. data/test/lib/picturehouse_uk/cinema_test.rb +53 -16
  22. data/test/lib/picturehouse_uk/internal/parser/screenings_test.rb +45 -0
  23. data/test/lib/picturehouse_uk/internal/title_sanitizer_test.rb +16 -0
  24. data/test/lib/picturehouse_uk/internal/website_test.rb +6 -6
  25. data/test/lib/picturehouse_uk/screening_test.rb +9 -1
  26. metadata +16 -25
  27. data/lib/picturehouse_uk/internal/address_parser.rb +0 -72
  28. data/lib/picturehouse_uk/internal/cinema_page.rb +0 -35
  29. data/lib/picturehouse_uk/internal/film_with_screenings_parser.rb +0 -116
  30. data/test/fixtures/address-fragments/duke-of-yorks.html +0 -39
  31. data/test/fixtures/address-fragments/hackney-picturehouse.html +0 -12
  32. data/test/fixtures/cinema/Duke_Of_Yorks/film_last.html +0 -45
  33. data/test/fixtures/cinema/Duke_Of_Yorks/film_second.html +0 -37
  34. data/test/fixtures/cinema/York_Picturehouse/basement.html +0 -19
  35. data/test/fixtures/contact_us/Duke_Of_Yorks.html +0 -1505
  36. data/test/fixtures/contact_us/Dukes_At_Komedia.html +0 -1503
  37. data/test/lib/picturehouse_uk/internal/address_parser_test.rb +0 -55
  38. data/test/lib/picturehouse_uk/internal/cinema_page_test.rb +0 -51
  39. data/test/lib/picturehouse_uk/internal/film_with_screenings_parser_test.rb +0 -95
@@ -1,35 +0,0 @@
1
- module PicturehouseUk
2
- # @api private
3
- module Internal
4
- # Parses a chunk of HTML to derive movie showing data
5
- class CinemaPage
6
- # css for a film + screenings
7
- FILM_CSS = '#events .largelist .item'
8
-
9
- # @param [Integer] cinema_id cineworld cinema id
10
- def initialize(cinema_id)
11
- @cinema_id = cinema_id
12
- end
13
-
14
- # break up the page into individual chunks for each film
15
- # @return [Array<String>] html chunks for a film and it's screenings
16
- def film_html
17
- film_nodes.map { |n| n.to_s.gsub(/^\s+/, '') }
18
- end
19
-
20
- private
21
-
22
- def cinema
23
- @cinema ||= PicturehouseUk::Internal::Website.new.cinema(@cinema_id)
24
- end
25
-
26
- def cinema_doc
27
- @cinema_doc ||= Nokogiri::HTML(cinema)
28
- end
29
-
30
- def film_nodes
31
- cinema_doc.css(FILM_CSS)
32
- end
33
- end
34
- end
35
- end
@@ -1,116 +0,0 @@
1
- module PicturehouseUk
2
- # @api private
3
- module Internal
4
- # Parses a chunk of HTML to derive movie showing data
5
- class FilmWithScreeningsParser
6
- # film name css
7
- FILM_NAME_CSS = '.movielink'
8
- # showings css
9
- SCREENING_CSS = 'a[epoch]'
10
-
11
- # @param [Nokogiri::HTML] film_html a chunk of html
12
- def initialize(html)
13
- @html = html
14
- end
15
-
16
- # The film name
17
- # @return [String]
18
- def film_name
19
- return if city_screen_basement_event?
20
- TitleSanitizer.new(raw_film_name).sanitized
21
- end
22
-
23
- # Showings hashes
24
- # @return [Array<Hash>]
25
- def to_a
26
- return [] unless screenings?
27
- screening_nodes.map do |node|
28
- {
29
- film_name: film_name,
30
- dimension: dimension
31
- }.merge(ScreeningParser.new(node).to_hash)
32
- end
33
- end
34
-
35
- private
36
-
37
- def city_screen_basement_event?
38
- raw_film_name.match(/\Abasement/)
39
- end
40
-
41
- def dimension
42
- raw_film_name.match(/3d/i) ? '3d' : '2d'
43
- end
44
-
45
- def doc
46
- @doc ||= Nokogiri::HTML(@html)
47
- end
48
-
49
- def raw_film_name
50
- @raw_film_name ||= doc.css(FILM_NAME_CSS).children.first.to_s
51
- end
52
-
53
- def screening_nodes
54
- @screening_nodes ||= doc.css(SCREENING_CSS)
55
- end
56
-
57
- def screenings?
58
- !!screening_nodes && !city_screen_basement_event?
59
- end
60
- end
61
-
62
- # parse an individual screening node
63
- class ScreeningParser
64
- # @param [Nokogiri::HTML] node a node with a film screening
65
- def initialize(node)
66
- @node = node
67
- end
68
-
69
- # is the screening bookable?
70
- # @return [Boolean]
71
- def bookable?
72
- !!booking_url
73
- end
74
-
75
- # the attributes of a single screening
76
- # @return [Hash]
77
- # @example
78
- # Cineworld::Internal::ScreeningParser.new(html).to_hash
79
- # => {
80
- # booking_url: 'http://...',
81
- # time: <Time>,
82
- # variant: ['imax']
83
- # }
84
- def to_hash
85
- {
86
- booking_url: "http://www.picturehouses.co.uk#{booking_url}",
87
- time: time,
88
- variant: variant
89
- }
90
- end
91
-
92
- private
93
-
94
- def booking_url
95
- @booking_url ||= @node['html']
96
- end
97
-
98
- def time
99
- @time ||= Time.utc(1970) + @node['epoch'].to_i
100
- end
101
-
102
- def variant
103
- @variant ||= begin
104
- case @node['class']
105
- when /big_scream/ then ['baby']
106
- when /kids_club|toddler_time/ then ['kids']
107
- when /silver_screen/ then ['silver']
108
- when /subtitled_cinema/ then ['subtitled']
109
- else
110
- []
111
- end
112
- end
113
- end
114
- end
115
- end
116
- end
@@ -1,39 +0,0 @@
1
- <div class="txt6" style="padding-top: 10px;">
2
-
3
-
4
- <p>
5
- </p><div class="box" style="width:280px;">
6
- <div class="heading"><span class="newsheading">Duke of York's Picturehouse, Brighton</span></div>
7
- <div class="box1">
8
- <table cellspacing="0" cellpadding="0" border="0" id="cinemasbox">
9
- <tbody>
10
-
11
- <tr><td valign="bottom" class="cinemaListBox"></td></tr>
12
- <tr><td valign="bottom" class="cinemaListBox">Preston Circus</td></tr>
13
- <tr><td valign="bottom" class="cinemaListBox"></td></tr>
14
- <tr><td valign="bottom" class="cinemaListBox">Brighton</td></tr>
15
- <tr><td valign="bottom" class="cinemaListBox"></td></tr>
16
- <tr><td valign="bottom" class="cinemaListBox"></td></tr>
17
- <tr><td valign="bottom" class="cinemaListBox">BN1 4NA</td></tr>
18
-
19
-
20
- <tr><td valign="bottom" class="cinemaListBox">Box Office Number: 0871 902 5728</td></tr>
21
-
22
-
23
- <tr><td valign="bottom" class="cinemaListBox">email: dukeofyorks@picturehouses.co.uk<script type="text/javascript">
24
- /* <![CDATA[ */
25
- (function(){try{var s,a,i,j,r,c,l,b=document.getElementsByTagName("script");l=b[b.length-1].previousSibling;a=l.getAttribute('data-cfemail');if(a){s='';r=parseInt(a.substr(0,2),16);for(j=2;a.length-j;j+=2){c=parseInt(a.substr(j,2),16)^r;s+=String.fromCharCode(c);}s=document.createTextNode(s);l.parentNode.replaceChild(s,l);}}catch(e){}})();
26
- /* ]]> */
27
- </script></td></tr>
28
-
29
- </tbody>
30
- </table>
31
- </div>
32
- </div>
33
-
34
- <p></p>
35
- <p>&nbsp;</p>
36
- <p>General Manager: Kenny Gold</p>
37
-
38
-
39
- </div>
@@ -1,12 +0,0 @@
1
- <div class="txt6" style="padding-top: 10px;">
2
-
3
-
4
- <p>Hackney Picturehouse<br> 270 Mare Street<br> London<br> E8 1HE<br> Box Office Number: 0871 902 5734<br> email: hackney@picturehouses.co.uk<script type="text/javascript">
5
- /* <![CDATA[ */
6
- (function(){try{var s,a,i,j,r,c,l,b=document.getElementsByTagName("script");l=b[b.length-1].previousSibling;a=l.getAttribute('data-cfemail');if(a){s='';r=parseInt(a.substr(0,2),16);for(j=2;a.length-j;j+=2){c=parseInt(a.substr(j,2),16)^r;s+=String.fromCharCode(c);}s=document.createTextNode(s);l.parentNode.replaceChild(s,l);}}catch(e){}})();
7
- /* ]]> */
8
- </script><br> Facebook: <a href="http://www.facebook.com/HackneyPicturehouse">facebook.com/HackneyPicturehouse</a><br> Twitter: <a href="http://twitter.com/HackneyPH">@HackneyPH</a></p>
9
- <p>General Manager: Darren Jones</p>
10
-
11
-
12
- </div>
@@ -1,45 +0,0 @@
1
- <div class="item" style="height:80px;">
2
- <div class="left a" style="height:80px;">
3
- <a rel="#overlay" onclick="load_trailers('The_Judge_trailer');" id="The_Judge_trailer" href="#" class="trailer mymovies" mtid="trl" mti="The Judge - Trailer 2" fid="11745" title="The Judge - Trailer 2" fti="The Judge" pid="PictureHouse" mid="11477">
4
- <span style="display:none;" img="http://images.mymovies.net/images/film/cin/120x90/fid11745/trl/mid11126.jpg" title="The Judge - Trailer" pid="PictureHouse" mid="11126" mtid="trl" mti="The Judge - Trailer" fid="11745" fti="The Judge" id="11745_11126"></span>
5
- <span style="display:none;" img="http://images.mymovies.net/images/film/cin/120x90/fid11745/trl/mid11477.jpg" title="The Judge - Trailer 2" pid="PictureHouse" mid="11477" mtid="trl" mti="The Judge - Trailer 2" fid="11745" fti="The Judge" id="11745_11477"></span>
6
- <span style="display:none;" img="http://images.mymovies.net/images/film/cin/120x90/fid11745/ftr/mid17081.jpg" title="Clip - Did You Go To Law School?" pid="PictureHouse" mid="17081" mtid="ftr" mti="Clip - Did You Go To Law School?" fid="11745" fti="The Judge" id="11745_17081"></span>
7
- <span style="display:none;" img="http://images.mymovies.net/images/film/cin/120x90/fid11745/ftr/mid17082.jpg" title="Clip - I Need My Walk" pid="PictureHouse" mid="17082" mtid="ftr" mti="Clip - I Need My Walk" fid="11745" fti="The Judge" id="11745_17082"></span>
8
- <span style="display:none;" img="http://images.mymovies.net/images/film/cin/120x90/fid11745/ftr/mid17088.jpg" title="Exclusive Interview With Robert Downey Jr, Robert Duvall, David Dobkin &amp; Vera Farmiga" pid="PictureHouse" mid="17088" mtid="ftr" mti="Exclusive Interview With Robert Downey Jr, Robert Duvall, David Dobkin &amp; Vera Farmiga" fid="11745" fti="The Judge" id="11745_17088"></span>
9
- <img src="https://d2t98m0n7ql7on.cloudfront.net/newman/static/atchs/Content/2s/2spf2.jpeg" width="60" height="60" class="imageborder">
10
- <img src="https://d2t98m0n7ql7on.cloudfront.net/site-media/images/cityscreen/playbutton.png" style="width:15px; height:15px;position:relative;top:-17px;left:47px;">
11
- </a>
12
- </div>
13
- <div class="left b" style="width:300px;">
14
- <a href="/cinema/Duke_Of_Yorks/film/The_Judge/" class="movielink" style="text-decoration:underline;">The Judge [15]</a><br>
15
- <div class="clear"></div>
16
- <div class="padding txt1 film.subtitled" style="height:45px;overflow-y:hidden;padding-left:0;">
17
- <b>Director:</b> <span>David Dobkin</span><br>
18
- <b>Duration:</b> <span>141 min. </span>
19
- <br> <b>Trailer:</b>
20
- <a rel="#overlay" onclick="load_trailers('The_Judge_trailer');" id="The_Judge_trailer" href="#" class="trailer mymovies" mtid="trl" mti="The Judge - Trailer 2" fid="11745" title="The Judge - Trailer 2" fti="The Judge" pid="PictureHouse" mid="11477">
21
- <span style="display:none;" img="http://images.mymovies.net/images/film/cin/120x90/fid11745/trl/mid11126.jpg" title="The Judge - Trailer" pid="PictureHouse" mid="11126" mtid="trl" mti="The Judge - Trailer" fid="11745" fti="The Judge" id="11745_11126"></span>
22
- <span style="display:none;" img="http://images.mymovies.net/images/film/cin/120x90/fid11745/trl/mid11477.jpg" title="The Judge - Trailer 2" pid="PictureHouse" mid="11477" mtid="trl" mti="The Judge - Trailer 2" fid="11745" fti="The Judge" id="11745_11477"></span>
23
- <span style="display:none;" img="http://images.mymovies.net/images/film/cin/120x90/fid11745/ftr/mid17081.jpg" title="Clip - Did You Go To Law School?" pid="PictureHouse" mid="17081" mtid="ftr" mti="Clip - Did You Go To Law School?" fid="11745" fti="The Judge" id="11745_17081"></span>
24
- <span style="display:none;" img="http://images.mymovies.net/images/film/cin/120x90/fid11745/ftr/mid17082.jpg" title="Clip - I Need My Walk" pid="PictureHouse" mid="17082" mtid="ftr" mti="Clip - I Need My Walk" fid="11745" fti="The Judge" id="11745_17082"></span>
25
- <span style="display:none;" img="http://images.mymovies.net/images/film/cin/120x90/fid11745/ftr/mid17088.jpg" title="Exclusive Interview With Robert Downey Jr, Robert Duvall, David Dobkin &amp; Vera Farmiga" pid="PictureHouse" mid="17088" mtid="ftr" mti="Exclusive Interview With Robert Downey Jr, Robert Duvall, David Dobkin &amp; Vera Farmiga" fid="11745" fti="The Judge" id="11745_17088"></span>
26
- <img src="https://d2t98m0n7ql7on.cloudfront.net/site-media/images/cityscreen/playbutton.png" style="width:15px; height:15px;position:relative;top:-2px;"></a>
27
- <div class="filmrating" content_id="e9mvo"></div>
28
- </div>
29
- </div>
30
- <div class="left" style="width:210px;">
31
- <a rel="nofollow" bookable="" href="/cinema/Duke_Of_Yorks/film/The_Judge/show/iuyiwt/" id="iuyiwt" class="button_time purple restricted big_scream tip" epoch="1413972000.0">11:00
32
- <span>Big Scream show: for parents/carers accompanied by babies under one year old only.</span>
33
- </a>
34
- <div id="iuyiwt-sm" class="simplemodal">
35
- <div class="simplemodaltitle">Big Scream</div>
36
- <div class="basic-modal-content"> Big Scream shows are exclusively for parents/carers accompanied by babies under one year old. For more information about Big Scream visit What's On &gt; Clubs/Groups &gt; Big Scream </div>
37
- <div class="modalbooknow"><a class="button_booknow" href="/cinema/Duke_Of_Yorks/film/The_Judge/show/iuyiwt/">Book now</a></div>
38
- </div>
39
- <a rel="nofollow" bookable="" href="/cinema/Duke_Of_Yorks/film/The_Judge/show/gtpyaa/" id="gtpyaa" class="button_time " epoch="1413984600.0">14:30
40
- </a>
41
- <a rel="nofollow" bookable="" href="/cinema/Duke_Of_Yorks/film/The_Judge/show/it5pqf/" id="it5pqf" class="button_time " epoch="1413997200.0">18:00
42
- </a>
43
- </div>
44
- <div style="clear:both;"></div>
45
- </div>
@@ -1,37 +0,0 @@
1
- <div class="item" style="height:80px;">
2
- <div class="left a" style="height:80px;">
3
- <a rel="#overlay" onclick="load_trailers('Gone_Girl_trailer');" id="Gone_Girl_trailer" href="#" class="trailer mymovies" mtid="trl" mti="Gone Girl - Trailer 2" fid="13950" title="Gone Girl - Trailer 2" fti="Gone Girl" pid="PictureHouse" mid="11208">
4
- <span style="display:none;" img="http://images.mymovies.net/images/film/cin/120x90/fid13950/trl/mid10837.jpg" title="Gone Girl - Trailer" pid="PictureHouse" mid="10837" mtid="trl" mti="Gone Girl - Trailer" fid="13950" fti="Gone Girl" id="13950_10837"></span>
5
- <span style="display:none;" img="http://images.mymovies.net/images/film/cin/120x90/fid13950/trl/mid11208.jpg" title="Gone Girl - Trailer 2" pid="PictureHouse" mid="11208" mtid="trl" mti="Gone Girl - Trailer 2" fid="13950" fti="Gone Girl" id="13950_11208"></span>
6
- <img src="https://d2t98m0n7ql7on.cloudfront.net/newman/static/atchs/Content/2n/2nxfc.jpeg" width="60" height="60" class="imageborder">
7
- <img src="https://d2t98m0n7ql7on.cloudfront.net/site-media/images/cityscreen/playbutton.png" style="width:15px; height:15px;position:relative;top:-17px;left:47px;">
8
- </a>
9
- </div>
10
- <div class="left b" style="width:300px;">
11
- <a href="/cinema/Duke_Of_Yorks/film/Gone_Girl/" class="movielink" style="text-decoration:underline;">Gone Girl [18]</a><br>
12
- <div class="clear"></div>
13
- <div class="padding txt1 film.subtitled" style="height:45px;overflow-y:hidden;padding-left:0;">
14
- <b>Director:</b> <span>David Fincher</span><br>
15
- <b>Duration:</b> <span>149 min. </span>
16
- <br> <b>Trailer:</b>
17
- <a rel="#overlay" onclick="load_trailers('Gone_Girl_trailer');" id="Gone_Girl_trailer" href="#" class="trailer mymovies" mtid="trl" mti="Gone Girl - Trailer 2" fid="13950" title="Gone Girl - Trailer 2" fti="Gone Girl" pid="PictureHouse" mid="11208">
18
- <span style="display:none;" img="http://images.mymovies.net/images/film/cin/120x90/fid13950/trl/mid10837.jpg" title="Gone Girl - Trailer" pid="PictureHouse" mid="10837" mtid="trl" mti="Gone Girl - Trailer" fid="13950" fti="Gone Girl" id="13950_10837"></span>
19
- <span style="display:none;" img="http://images.mymovies.net/images/film/cin/120x90/fid13950/trl/mid11208.jpg" title="Gone Girl - Trailer 2" pid="PictureHouse" mid="11208" mtid="trl" mti="Gone Girl - Trailer 2" fid="13950" fti="Gone Girl" id="13950_11208"></span>
20
- <img src="https://d2t98m0n7ql7on.cloudfront.net/site-media/images/cityscreen/playbutton.png" style="width:15px; height:15px;position:relative;top:-2px;"></a>
21
- <div class="filmrating" content_id="jtqmd"></div>
22
- </div>
23
- </div>
24
- <div class="left" style="width:210px;">
25
- <a rel="nofollow" bookable="" href="/cinema/Duke_Of_Yorks/film/Gone_Girl/show/ywpuzw/" id="ywpuzw" class="button_time purple silver_screen tip" epoch="1413469800.0">15:30
26
- <span>Silver Screen show: those aged over 60 can join the Silver Screen club for free, and get free tea or coffee and biscuits at this show. Everyone else is also welcome to attend this show.</span>
27
- </a>
28
- <div id="ywpuzw-sm" class="simplemodal">
29
- <div class="simplemodaltitle"></div>
30
- <div class="basic-modal-content"> </div>
31
- <div class="modalbooknow"><a class="button_booknow" href="/cinema/Duke_Of_Yorks/film/Gone_Girl/show/ywpuzw/">Book now</a></div>
32
- </div>
33
- <a rel="nofollow" bookable="" href="/cinema/Duke_Of_Yorks/film/Gone_Girl/show/1xy3az/" id="1xy3az" class="button_time " epoch="1413489000.0">20:50
34
- </a>
35
- </div>
36
- <div style="clear:both;"></div>
37
- </div>
@@ -1,19 +0,0 @@
1
- <div class="item" style="height:80px;">
2
- <div class="left a" style="height:80px;">
3
- <a href="/cinema/York_Picturehouse/film/Basement_Komedias_Krater_Comedy_Club/">
4
- <img src="/newman/static/atchs/Global/n9/n9jdm.jpeg" width="60" height="60" class="imageborder">
5
- </a>
6
- </div>
7
- <div class="left b" style="width:300px;">
8
- <a href="/cinema/York_Picturehouse/film/Basement_Komedias_Krater_Comedy_Club/" class="movielink" style="text-decoration:underline;">basement KOMEDIA'S KRATER COMEDY CLUB</a><br>
9
- <div class="clear"></div>
10
- <div class="padding txt1 film.subtitled" style="height:45px;overflow-y:hidden;padding-left:0;">
11
- <div class="filmrating" content_id="ee39d11f9ffdf541ec44dcc1f03d8d6c"></div>
12
- </div>
13
- </div>
14
- <div class="left" style="width:210px;">
15
- <a rel="nofollow" bookable="" href="/cinema/York_Picturehouse/film/Basement_Komedias_Krater_Comedy_Club/show/3tbuwr/" id="3tbuwr" class="button_time " epoch="1413743400.0">19:30
16
- </a>
17
- </div>
18
- <div style="clear:both;"></div>
19
- </div>
@@ -1,1505 +0,0 @@
1
-
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
-
5
- <html xmlns="http://www.w3.org/1999/xhtml"
6
- xmlns:og="http://opengraphprotocol.org/schema/"
7
- xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en" lang="en">
8
- <head>
9
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
10
- <title>Contact Us | Hires &amp; Info | Duke of York&#39;s Picturehouse | Brighton</title>
11
-
12
- <meta name="keywords" content="picturehouse, cinema, picture house, Duke of York&#39;s" />
13
-
14
-
15
- <meta name="description" content="Contact Us | Hires &amp; Info at Duke of York&#39;s Picturehouse | Brighton" />
16
-
17
- <script type="text/javascript">
18
- var venue = 'Duke_Of_Yorks';
19
- var trailer = {height:288,width:510};
20
- </script>
21
-
22
-
23
-
24
- <link rel="stylesheet" href="https://d2t98m0n7ql7on.cloudfront.net/site-media/css/cityscreen/global.201312092207.css" />
25
-
26
-
27
- <!--[if IE 6]>
28
- <link rel="stylesheet" href="https://d2t98m0n7ql7on.cloudfront.net/site-media/css/cityscreen/ie6.v3.min.css" type="text/css" />
29
- <![endif]-->
30
-
31
- <!--[if IE 7]>
32
- <link rel="stylesheet" href="https://d2t98m0n7ql7on.cloudfront.net/site-media/css/cityscreen/ie7.v1.min.css" type="text/css" />
33
- <![endif]-->
34
- <meta name="google-site-verification" content="tfGR4gRo-YG-57LfPFX3Pjv0VqsFRPKIs2ioVOH-3f8" />
35
-
36
- <meta property="fb:app_id" content="" />
37
- <meta property="og:type" content="" />
38
- <meta property="og:title" content="Contact Us | Hires &amp; Info at Duke of York&#39;s Picturehouse | Brighton" />
39
- <meta property="og:url" content="" />
40
- <meta property="og:site_name" content="Picturehouses" />
41
- <meta property="og:description" content="" />
42
- <meta property="og:image" content="" />
43
-
44
-
45
- <link id="canonical" rel="canonical" href="/cinema/Duke_Of_Yorks/Hires_Info/Contact_Us/" />
46
-
47
-
48
-
49
-
50
- <script type="text/javascript" charset="utf-8" src="https://d2t98m0n7ql7on.cloudfront.net/site-media/js/libs/jquery-1.9.1.js"></script>
51
- <script src="https://d2t98m0n7ql7on.cloudfront.net/site-media/js/libs/jquery-migrate-1.1.0.js"></script>
52
- <script type="text/javascript" charset="utf-8" src="https://d2t98m0n7ql7on.cloudfront.net/site-media/js/libs/typeahead.js"></script>
53
- <script src="https://d2t98m0n7ql7on.cloudfront.net/site-media/js/libs/hogan-2.0.0.js"></script>
54
- <script src="https://d2t98m0n7ql7on.cloudfront.net/site-media/js/libs/jquery.tools.min.js"></script>
55
-
56
- <link rel="stylesheet" type="text/css" href="http://partner.mymovies.net/html5/jqtools/1.css"/>
57
- <link href="http://partner.mymovies.net/html5/css/video-js.css" rel="stylesheet" type="text/css">
58
- <script src="http://partner.mymovies.net/html5/js/video_ovrly.js" type="text/javascript"></script>
59
- <script SRC="http://flvplayer.mymovies.net/includes/sdc_tag.js" type="text/javascript"></script>
60
-
61
- <script type="text/javascript" charset="utf-8" src="https://d2t98m0n7ql7on.cloudfront.net/site-media/js/cityscreen/site.20140714.js"></script>
62
-
63
- <link type="image/x-icon" href="https://d2t98m0n7ql7on.cloudfront.net/site-media/images/cityscreen/favicon.gif" rel="shortcut icon"/>
64
- <link type="image/x-icon" href="https://d2t98m0n7ql7on.cloudfront.net/site-media/images/cityscreen/favicon.gif" rel="icon"/>
65
-
66
- <script type="text/javascript">
67
- function twitterPop(text, url) {
68
- mywindow = window.open('http://twitter.com/share?text='+text+'&url='+url,"Tweet_widow","channelmode=no,directories=no,location=no,menubar=no,scrollbars=no,toolbar=no,status=no,width=500,height=375,left=300,top=200");
69
- mywindow.focus();
70
- }
71
- </script>
72
- <script type="text/javascript">
73
- docCookies = {
74
- getItem: function (sKey) {
75
- if (!sKey || !this.hasItem(sKey)) { return null; }
76
- return unescape(document.cookie.replace(new RegExp("(?:^|.*;\\s*)" + escape(sKey).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*"), "$1"));
77
- },
78
- /**
79
- * docCookies.setItem(sKey, sValue, vEnd, sPath, sDomain, bSecure)
80
- *
81
- * @argument sKey (String): the name of the cookie;
82
- * @argument sValue (String): the value of the cookie;
83
- * @optional argument vEnd (Number, String, Date Object or null): the max-age in seconds (e.g., 31536e3 for a year) or the
84
- * expires date in GMTString format or in Date Object format; if not specified it will expire at the end of session;
85
- * @optional argument sPath (String or null): e.g., "/", "/mydir"; if not specified, defaults to the current path of the current document location;
86
- * @optional argument sDomain (String or null): e.g., "example.com", ".example.com" (includes all subdomains) or "subdomain.example.com"; if not
87
- * specified, defaults to the host portion of the current document location;
88
- * @optional argument bSecure (Boolean or null): cookie will be transmitted only over secure protocol as https;
89
- * @return undefined;
90
- **/
91
- setItem: function (sKey, sValue, vEnd, sPath, sDomain, bSecure) {
92
- if (!sKey || /^(?:expires|max\-age|path|domain|secure)$/.test(sKey)) { return; }
93
- var sExpires = "";
94
- if (vEnd) {
95
- switch (typeof vEnd) {
96
- case "number": sExpires = "; max-age=" + vEnd; break;
97
- case "string": sExpires = "; expires=" + vEnd; break;
98
- case "object": if (vEnd.toGMTString != undefined) { sExpires = "; expires=" + vEnd.toGMTString(); } break;
99
- }
100
- }
101
- document.cookie = escape(sKey) + "=" + escape(sValue) + sExpires + (sDomain ? "; domain=" + sDomain : "") + (sPath ? "; path=" + sPath : "") + (bSecure ? "; secure" : "");
102
- },
103
- removeItem: function (sKey) {
104
- if (!sKey || !this.hasItem(sKey)) { return; }
105
- var oExpDate = new Date();
106
- oExpDate.setDate(oExpDate.getDate() - 1);
107
- document.cookie = escape(sKey) + "=; expires=" + oExpDate.toGMTString() + "; path=/";
108
- },
109
- hasItem: function (sKey) { return (new RegExp("(?:^|;\\s*)" + escape(sKey).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=")).test(document.cookie); }
110
- };
111
- jQuery(document).ready(function(){
112
- if ((docCookies.getItem('accepted') === null)) {
113
- console.log('cookie');
114
- jQuery('body').append('<div id="cookie_message" style="background-color: rgb(255, 255, 225); color: rgb(51, 51, 51); position: fixed; bottom: 0px; left: 0px; right: 0px; padding: 7px 120px 7px 36px; vertical-align: middle; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(68, 68, 68); font-size: 12px; font-family: Arial, Helvetica, sans-serif; z-index: 9999; box-shadow: rgb(0, 0, 0) 0px 0px 5px; "><p class="wolfblock" style="text-align: left; font-size: 1.1em !important; width: 600px; float: left; margin: 0px; padding: 0px; line-height: 16px; ">This site uses cookies to help make it more useful and reliable. By using the site or by dismissing this banner you are consenting to their use.</p><a href="#" id="cookie_accepted">Do not show this message again</a></div></div>');
115
- jQuery('#cookie_accepted').click(function() {
116
- jQuery('#cookie_message').hide();
117
- docCookies.setItem('accepted', 'dismissed', 86400*365*30, '/');
118
- });
119
- }
120
- });
121
- </script>
122
- <script type="text/javascript">
123
- var apiHost = (("https:" == document.location.protocol) ? "https://" : "http://");
124
- var websales_url = ''.replace('http://', apiHost);
125
- var secure_websales_url = 'https://www.picturehouses.co.uk';
126
- newman_prefix = 'newman';
127
- setup_api();
128
- </script>
129
-
130
- <script type="text/javascript">
131
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
132
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
133
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
134
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
135
- ga('create', 'UA-7911463-2', 'picturehouses.co.uk');
136
- ga('require', 'displayfeatures');
137
- ga('send', 'pageview');
138
- </script>
139
-
140
-
141
- <script type="text/javascript">
142
- newman_prefix = 'newman';
143
- document.write(unescape("%3Cscript src='" + websales_url + "/jswebsales/static/customer.201404272310.js' type='text/javascript'%3E%3C/script%3E"));
144
- </script>
145
-
146
-
147
-
148
-
149
-
150
- <script type="text/javascript">
151
- jQuery(document).ready(function(){
152
-
153
-
154
-
155
- jQuery('#searchForm').replaceWith('<div class="demo" style="float:right; margin-right:10px;"><form rel="nofollow" action="/cinema/Duke_Of_Yorks/Search/"><input class="typeahead" name="header_search" type="text" placeholder="Search..."></form></div>');
156
-
157
- var url = '/fs/';
158
- if ('doyb' !== 'global') {
159
- url = '/cinema/Duke_Of_Yorks/fs/';
160
- }
161
- if (location.protocol !== 'https:') {
162
- jQuery('.typeahead').typeahead({
163
- name:'films',
164
- prefetch:{url:url,
165
- ttl:0},
166
- limit:30,
167
- ttl_ms:0
168
- })
169
- .on('typeahead:opened', function(evt) {
170
- var $typeahead = jQuery(this);
171
- var v = $typeahead.val();
172
- if (v !== '') {
173
- ga('send', 'event', {
174
- eventCategory:'Search',
175
- eventAction:'Typing',
176
- eventValue:v});
177
- }
178
- })
179
- .on('typeahead:selected', function(evt, item) {
180
- var $typeahead = jQuery(this);
181
- ga('send', 'event', {
182
- eventCategory:'Search',
183
- eventAction:'Selected',
184
- eventValue:$typeahead.val()});
185
- window.location.href = item.uri + '?utm_source=' + window.location.pathname + '&utm_medium=search&utm_campaign=selected';
186
- })
187
- .on('typeahead:closed', function(evt, item) {
188
- var $typeahead = jQuery(this);
189
- console.log('closed');
190
- })
191
- .on('typeahead:autocompleted', function (evt, item) {
192
- var $typeahead = jQuery(this);
193
- ga('send', 'event', {
194
- eventCategory:'Search',
195
- eventAction:'Autocompleted',
196
- eventValue:$typeahead.val()});
197
- window.location.href = item.uri + '?utm_source=' + window.location.pathname + '&utm_medium=search&utm_campaign=autocompleted';
198
- }) ;
199
- jQuery('div.demo form input.typeahead').bind('keypress', function(e) {
200
- if(e.keyCode===13){
201
- jQuery('div.demo form').submit();
202
- }
203
- });
204
- }
205
- initialize_api('Duke_Of_Yorks', '', 'doyb');
206
- });
207
- </script>
208
- <!-- Start: GPT Sync -->
209
-
210
- <script type='text/javascript'>
211
-
212
- var gptadslots=[];
213
-
214
- (function(){
215
-
216
- var useSSL = 'https:' == document.location.protocol;
217
-
218
- var src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js';
219
-
220
- document.write('<scr' + 'ipt src="' + src + '"></scr' + 'ipt>');
221
-
222
- })();
223
-
224
- </script>
225
- <script type="text/javascript">
226
-
227
-
228
- //Adslot 1 declaration
229
-
230
- gptadslots[1]= googletag.defineSlot('/116061662/UK_PictureHouses', [[300,250]],'div-gpt-ad-144738139352026482-1').addService(googletag.pubads());
231
-
232
-
233
-
234
- //Adslot 2 declaration
235
-
236
- gptadslots[2]= googletag.defineSlot('/116061662/UK_PictureHouses/Homepage', [[300,250]],'div-gpt-ad-144738139352026482-2').addService(googletag.pubads());
237
-
238
-
239
-
240
- googletag.pubads().enableSyncRendering();
241
-
242
- googletag.enableServices();
243
-
244
- </script>
245
-
246
- <!-- End: GPT -->
247
- </head>
248
-
249
- <body>
250
-
251
- <div id="wrapper">
252
-
253
- <link rel="stylesheet" href="https://d2t98m0n7ql7on.cloudfront.net/site-media/css/cityscreen/venues.2014091904.css" />
254
-
255
- <div id="con_header" class="header_doyb" sold="">
256
-
257
-
258
-
259
- <h1>
260
-
261
- <a href="/cinema/Duke_Of_Yorks/" id="header_logo" class="doyb" alt="Duke of York&#39;s"></a>
262
-
263
- </h1>
264
- <div id="header_right">
265
- <a href="#" id="qb" rel="nofollow" class="quickbook_button"></a>
266
- <form rel="nofollow" id ="searchForm" action="/cinema/Duke_Of_Yorks/Search/">
267
- <input type="text" name="header_search" id="header_search" value=""/>
268
- </form>
269
- <div id="quickbook_layer">
270
- <div class="quickbook_layer_spacing">
271
- <form>
272
- <select id="cinemaField"><option value="">Cinema</option></select>
273
- <select id="filmField"><option value="">Film</option></select>
274
- <select id="dateField"><option value="">Date</option></select>
275
- <select id="showField"><option value="">Time</option></select>
276
- <div class="right"><a href="#" id="go" class="button_book">Book</a></div>
277
- </form>
278
- </div>
279
- </div>
280
- </div>
281
-
282
- <div class="top-links">
283
- <div class="top-links-icons">
284
- <a class="i-newsletter" href="/cinema/Duke_Of_Yorks/Connect/Email_News/">
285
- <i class="t-icon"><i></i></i>
286
- <span class="s-tooltip">
287
- <span class="st-tl"></span><span class="st-tr"></span>
288
- <strong>Newsletter</strong>
289
- </span>
290
- </a>
291
-
292
- <span class="hide"> | </span>
293
-
294
- <a class="i-facebook" href="/cinema/Duke_Of_Yorks/Connect/Facebook/">
295
- <i class="t-icon"><i></i></i>
296
- <span class="s-tooltip">
297
- <span class="st-tl"></span><span class="st-tr"></span>
298
- <strong>Facebook</strong>
299
- </span>
300
- </a>
301
-
302
- <span class="hide"> | </span>
303
-
304
- <a class="i-twitter" href="/cinema/Duke_Of_Yorks/Connect/Twitter/">
305
- <i class="t-icon"><i></i></i>
306
- <span class="s-tooltip">
307
- <span class="st-tl"></span><span class="st-tr"></span>
308
- <strong>Twitter</strong>
309
- </span>
310
- </a>
311
- </div>
312
-
313
-
314
- <span class="tl-label">MyPicturehouse:</span>
315
- <a href="#login_form" id="login_formfancybox-link" class="fancybox-link"><strong>Sign in / Register</strong></a>
316
-
317
-
318
-
319
- </div>
320
-
321
-
322
-
323
-
324
-
325
- <div class="basket" style="top:50px;right:15px;position:absolute;"></div>
326
- <div class="dummy-top-links" class="hide"></div>
327
-
328
- </div>
329
-
330
-
331
- <style>
332
- #precomplete_form {
333
- width:270px;
334
- }
335
- #precomplete_formfancybox-link {
336
- visibility: none;
337
- }
338
- </style>
339
-
340
- <a href="#precomplete_form" id="precomplete_formfancybox-link" class="fancybox-link"></a>
341
- <div class="hide">
342
- <div id="precomplete_form" class="popup-form g-clear">
343
- <form method="post" action="" name="info_form">
344
- <div class="form-left-part">
345
- <h3>Additional Information</h3>
346
-
347
- <p id="precomplete_msg">To complete your registration, please choose your favourite cinema:</p>
348
-
349
- <div id="precomplete_email_holder">
350
- <label for="">Email address</label>
351
- <span class="text">
352
- <i class="t-tl"></i><i class="t-tr"></i>
353
- <input type="text" id="precomplete_email" name="loginemail"/>
354
- </span>
355
- </div>
356
-
357
-
358
- <div class="clearall"></div>
359
-
360
- <div id="precomplete_venue_holder">
361
- <label for="">Favourite cinema</label>
362
- <select id="precomplete_venue">
363
-
364
-
365
- <option value="cph">Clapham Picturehouse</option>
366
-
367
-
368
-
369
- <option value="EDP">East Dulwich Picturehouse</option>
370
-
371
-
372
-
373
- <option value="gate">Gate Picturehouse</option>
374
-
375
-
376
-
377
- <option value="gnw">Greenwich Picturehouse</option>
378
-
379
-
380
-
381
- <option value="hck">Hackney Picturehouse</option>
382
-
383
-
384
-
385
- <option value="PHC">Picturehouse Central</option>
386
-
387
-
388
-
389
- <option value="ritz">Ritzy Picturehouse</option>
390
-
391
-
392
-
393
- <option value="se">Stratford, London</option>
394
-
395
-
396
-
397
- <option value="bath">The Little</option>
398
-
399
-
400
-
401
- <option value="NMM">Picturehouse at the NMM</option>
402
-
403
-
404
-
405
- <option value="DAK">Duke&#39;s At Komedia</option>
406
-
407
-
408
-
409
- <option selected="selected" value="doyb">Duke of York&#39;s</option>
410
-
411
-
412
-
413
- <option value="camb">Arts Picturehouse Cambridge</option>
414
-
415
-
416
-
417
- <option value="edbg">Cameo Picturehouse</option>
418
-
419
-
420
-
421
- <option value="xtr">Exeter Picturehouse</option>
422
-
423
-
424
-
425
- <option value="rgl">Regal Picturehouse</option>
426
-
427
-
428
-
429
- <option value="fact">Picturehouse at FACT</option>
430
-
431
-
432
-
433
- <option value="nor">Cinema City</option>
434
-
435
-
436
-
437
- <option value="oxfd">Phoenix Picturehouse</option>
438
-
439
-
440
-
441
- <option value="hlsh">Harbour Lights</option>
442
-
443
-
444
-
445
- <option value="soa">Stratford-upon-Avon</option>
446
-
447
-
448
-
449
- <option value="york">York Picturehouse</option>
450
-
451
-
452
- </select>
453
- </div>
454
-
455
- <span class="button">
456
- <i class="b-tl"></i><i class="b-tr"></i>
457
- <input type="button" value="Complete Registration" id="completebutton"/>
458
- </span>
459
- </div>
460
- </form>
461
- </div>
462
- </div>
463
-
464
- <script>
465
- // START OF UTILS
466
- function qs(key) {
467
- key = key.replace(/[*+?^$.\[\]{}()|\\\/]/g, "\\$&"); // escape RegEx meta chars
468
- var match = location.search.match(new RegExp("[?&]"+key+"=([^&]+)(&|$)"));
469
- return match && decodeURIComponent(match[1].replace(/\+/g, " "));
470
- }
471
-
472
- if (typeof String.prototype.startsWith != 'function') {
473
- // see below for better implementation!
474
- String.prototype.startsWith = function (str){
475
- return this.indexOf(str) == 0;
476
- };
477
- }
478
- // END OF UTILS
479
-
480
- function isPrecompleteForm() {
481
- if (window.location.hash.indexOf("#precomplete_form") != -1) {
482
- jQuery("a#precomplete_formfancybox-link")[0].click()
483
- }
484
- };
485
-
486
- var precomplete_hookup = function() {
487
- jQuery('a#precomplete_formfancybox-link').fancybox({
488
- transitionIn: 'elastic',
489
- transitionOut: 'elastic',
490
- onComplete: function(){
491
- jQuery('#precomplete_form span.button .b-tl').each(function(){
492
- jQuery(this).width( jQuery(this).parent().width() )
493
- });
494
- }
495
- });
496
- jQuery('#completebutton').click(precomplete_finish);
497
- };
498
-
499
- var setup_precomplete_form = function() {
500
- setup = window.location.hash
501
-
502
- if (setup.indexOf("email") == -1) {
503
- jQuery("#precomplete_email_holder").hide()
504
- } else {
505
- jQuery("#precomplete_email_holder").show()
506
- }
507
- if (setup.indexOf("venue_id") == -1) {
508
- jQuery("#precomplete_venue_holder").hide()
509
- } else {
510
- jQuery("#precomplete_venue_holder").show()
511
- }
512
- };
513
-
514
- var precomplete_finish = function() {
515
- var url = qs('redirect');
516
- if (setup.indexOf("email") != -1) {
517
- url += "&email=" + jQuery("#precomplete_email").val()
518
- }
519
- if (setup.indexOf("venue_id") != -1) {
520
- url += "&venue_id=" + jQuery("#precomplete_venue").val()
521
- }
522
-
523
- window.location.href = url
524
- };
525
-
526
- jQuery(document).ready(function () {
527
- precomplete_hookup();
528
- setup_precomplete_form()
529
- isPrecompleteForm()
530
- })
531
-
532
- </script>
533
-
534
-
535
- <div class="hide">
536
- <div id="login_form" class="popup-form g-clear">
537
- <style>
538
- #socialauth_error_msg {
539
- color:red;
540
- margin:0;
541
- line-height:12px;
542
- margin-bottom:-7px;
543
- }
544
- </style>
545
-
546
- <p id="socialauth_error_msg"></p>
547
-
548
- <script>
549
- console.log("START ALERT SETUP SCRIPT")
550
-
551
- // START OF UTILS
552
- function getHashParams() {
553
-
554
- var hashParams = {};
555
- var e,
556
- a = /\+/g, // Regex for replacing addition symbol with a space
557
- r = /([^&;=]+)=?([^&;]*)/g,
558
- d = function (s) { return decodeURIComponent(s.replace(a, " ")); },
559
- q = window.location.hash.substring(1);
560
-
561
- while (e = r.exec(q))
562
- hashParams[d(e[1])] = d(e[2]);
563
-
564
- return hashParams;
565
- }
566
- // END OF UTILS
567
-
568
- function isErrorMsg() {
569
- // Is there a socialauth error message?
570
- if (window.location.hash.indexOf("#socialauth_error_msg") != -1) {
571
-
572
- // Found a SocialAuth error signal, preparing to display msg.
573
- var msg = getHashParams()["socialauth_error_msg"]
574
- if (msg) {
575
- jQuery("#socialauth_error_msg").html(msg);
576
- jQuery("#socialauth_error_msg").show();
577
- };
578
-
579
- // Open login dialog.
580
- var rt = jQuery("a#login_formfancybox-link").fancybox().trigger('click');
581
- } else {
582
- jQuery("#socialauth_error_msg").hide();
583
- }
584
- };
585
-
586
- isErrorMsg()
587
-
588
- </script>
589
-
590
- <form method="post" action="/loyalty/login_process" name="login_form">
591
- <div class="form-left-part">
592
-
593
- <style>
594
-
595
- .social_auth_widget {
596
- margin-bottom: 10px;
597
- }
598
-
599
- .social_button {
600
- width: 270px;
601
- height: 30px;
602
- margin-bottom: 8px;
603
- }
604
-
605
- .social_auth_widget a,
606
- .social_auth_widget a:link,
607
- .social_auth_widget a:visited,
608
- .social_auth_widget a:hover,
609
- .social_auth_widget a:active
610
- {
611
- color: inherit;
612
- text-decoration: none;
613
- }
614
-
615
- .social_button h4 {
616
- display: inline;
617
- padding-left: 6px;
618
- vertical-align: -webkit-baseline-middle;
619
- color: #fff;
620
- font-size: 129%;
621
- letter-spacing: 0.2px;
622
- }
623
-
624
- .social_button.safari h4 {
625
- vertical-align: middle !important;
626
- }
627
-
628
- .social_auth_widget #facebook_button {
629
- background-color: #4a629d;
630
- border-radius: 3px;
631
- }
632
-
633
- .social_auth_widget #google-plus_button {
634
- background-color: #ca363a;
635
- border-radius: 3px;
636
- }
637
-
638
- .social_button img {
639
- margin-left: 10px;
640
- margin-top: 2.5px;
641
- }
642
-
643
- .social_button.safari img {
644
- margin-top: 3px;
645
- }
646
-
647
- </style>
648
-
649
- <div class="social_auth_widget">
650
- <a href="/socialauth/login/facebook/">
651
- <div class="social_button" id="facebook_button">
652
- <img src="/site-media/images/social/facebook_login.png" alt="Login with Facebook"></img>
653
- <h4>Sign in with Facebook</h4>
654
- </div>
655
- </a>
656
- <a href="/socialauth/login/google-plus/">
657
- <div class="social_button" id="google-plus_button">
658
- <img src="/site-media/images/social/google-plus_login.png" alt="Login with Google+"></img>
659
- <h4>Sign in with Google+</h4>
660
- </div>
661
- </a>
662
- </div>
663
-
664
- <script>
665
- (function () {
666
-
667
- var source = encodeURI(document.URL)
668
- jQuery(".social_auth_widget a").each(function (i,v) {
669
- v.href = v.href + "?source_page=" + source
670
- })
671
-
672
- var safari = jQuery.browser.safari != undefined;
673
- if (safari) {
674
- jQuery(".social_button").addClass("safari");
675
- }
676
- })()
677
- </script>
678
-
679
-
680
-
681
-
682
-
683
- <h3>Sign in</h3>
684
- <p class="error login_form" style="color:red; margin:0; line-height:1em; display:None;"></p>
685
- <label for="">Email address</label>
686
- <span class="text">
687
- <i class="t-tl"></i><i class="t-tr"></i>
688
- <input type="text" id="loginemail" name="loginemail"/>
689
- </span>
690
-
691
- <div class="clearall"></div>
692
-
693
- <label for="">Password</label>
694
- <span class="text">
695
- <i class="t-tl"></i><i class="t-tr"></i>
696
- <input type="password" id="loginpassword" name="loginpassword"/>
697
- </span>
698
-
699
- <div class="clearall"></div>
700
-
701
- <a class="lightgreen" href="#forgotpassword_form" id="forgotpasswordbutton" title="Forgot your password?"><strong>Forgot your password?</strong></a>
702
-
703
- <input type="hidden" value="true" name="nomd5"/>
704
- <div class="checkbox">
705
- <input id="loginremember_me" type="checkbox" name="loginremember_me"/>
706
- <label for="">Keep me signed in</label>
707
- </div>
708
-
709
- <div class="clearall"></div>
710
-
711
- <span class="button">
712
- <i class="b-tl"></i><i class="b-tr"></i>
713
- <input type="submit" value="Sign in" id="loginbutton"/>
714
- </span>
715
- </div>
716
- </form>
717
-
718
- <div class="form-right-part">
719
- <h3>Create a MyPicturehouse account</h3>
720
- <p class="error register_form" style="color:red; margin:0; line-height:1em; display:None;"></p>
721
-
722
- <label for="">Favourite cinema</label>
723
- <select id="membership_myphvenue_id">
724
-
725
-
726
- <option value="cph">Clapham Picturehouse</option>
727
-
728
-
729
-
730
- <option value="EDP">East Dulwich Picturehouse</option>
731
-
732
-
733
-
734
- <option value="gate">Gate Picturehouse</option>
735
-
736
-
737
-
738
- <option value="gnw">Greenwich Picturehouse</option>
739
-
740
-
741
-
742
- <option value="hck">Hackney Picturehouse</option>
743
-
744
-
745
-
746
- <option value="PHC">Picturehouse Central</option>
747
-
748
-
749
-
750
- <option value="ritz">Ritzy Picturehouse</option>
751
-
752
-
753
-
754
- <option value="se">Stratford, London</option>
755
-
756
-
757
-
758
- <option value="bath">The Little</option>
759
-
760
-
761
-
762
- <option value="NMM">Picturehouse at the NMM</option>
763
-
764
-
765
-
766
- <option value="DAK">Duke&#39;s At Komedia</option>
767
-
768
-
769
-
770
- <option selected="selected" value="doyb">Duke of York&#39;s</option>
771
-
772
-
773
-
774
- <option value="camb">Arts Picturehouse Cambridge</option>
775
-
776
-
777
-
778
- <option value="edbg">Cameo Picturehouse</option>
779
-
780
-
781
-
782
- <option value="xtr">Exeter Picturehouse</option>
783
-
784
-
785
-
786
- <option value="rgl">Regal Picturehouse</option>
787
-
788
-
789
-
790
- <option value="fact">Picturehouse at FACT</option>
791
-
792
-
793
-
794
- <option value="nor">Cinema City</option>
795
-
796
-
797
-
798
- <option value="oxfd">Phoenix Picturehouse</option>
799
-
800
-
801
-
802
- <option value="hlsh">Harbour Lights</option>
803
-
804
-
805
-
806
- <option value="soa">Stratford-upon-Avon</option>
807
-
808
-
809
-
810
- <option value="york">York Picturehouse</option>
811
-
812
-
813
- </select>
814
-
815
- <div class="clearall"></div>
816
-
817
- <label for="">Email address</label>
818
- <span class="text">
819
- <i class="t-tl"></i><i class="t-tr"></i>
820
- <input type="text" id="membership_myphcustomer_email" />
821
- </span>
822
-
823
- <div class="clearall"></div>
824
-
825
- <span class="button">
826
- <i class="b-tl"></i><i class="b-tr"></i>
827
- <input type="submit" id="createaccountbutton" value="Create account" />
828
- </span>
829
-
830
- <div class="clearall"></div>
831
- <br />
832
-
833
- <h4>The benefits</h4>
834
- Speed up online booking, rate films, receive recommendations, view your film history, manage your private account, signup for coming soon, manage subscriptions and preferences.
835
- </div>
836
-
837
- </div>
838
- </div>
839
- <div class="hide">
840
- <div id="forgotpassword_form" class="popup-form g-clear">
841
- <div class="form-left-part">
842
- <h3>Forgot your password</h3>
843
- <p>Enter your email address so that we can email you the password</p>
844
-
845
- <p class="error forgotpassword_form" style="color:red; margin:0; line-height:1em; display:None;"></p>
846
-
847
- <label for="">Email address</label>
848
-
849
- <span class="text">
850
- <i class="t-tl"></i><i class="t-tr"></i>
851
- <input type="text" id="forgot_passwordemail"/>
852
- </span>
853
-
854
- <div class="clearall"></div>
855
-
856
- <span class="button">
857
- <i class="b-tl"></i><i class="b-tr"></i>
858
- <input type="submit" value="email new password" id="forgot_password_button"/>
859
- </span>
860
- </div>
861
- </div>
862
- </div>
863
- <div class="hide">
864
- <a href="#message_form" id="popup_message_link"></a>
865
- <a href="#register_form" id="register_link"></a>
866
- </div>
867
- <div class="hide">
868
- <div id="message_form" class="popup-form g-clear">
869
- <h3 id="popup_message_box_title"></h3>
870
-
871
- </div>
872
- </div>
873
- <div class="hide">
874
- <div id="register_form" class="popup-form g-clear">
875
- <form method="post" action="/loyalty/register_num" name="register_form" id="register">
876
- <h3>Register</h3>
877
- <p>Please provide the following details to set up your account.</p>
878
-
879
- <p class="error" style="color:red; padding:0; margin:0; line-height:1em; display:None;"></p>
880
- <label style="display:none;" for="">Membership number</label>
881
- <span class="text" style="display:none;">
882
- <i class="t-tl"></i><i class="t-tr"></i>
883
- <input type="text" id="registercustomer_num" name="registercustomer_num"/>
884
- </span>
885
-
886
- <input type="hidden" value="true" name="nomd5"/>
887
- <div class="clearall"></div>
888
- <label for="">First name</label>
889
- <span class="text">
890
- <i class="t-tl"></i><i class="t-tr"></i>
891
- <input type="text" id="registerfirstname" name="registerfirstname"/>
892
- </span>
893
-
894
- <div class="clearall"></div>
895
- <label for="">Surname</label>
896
- <span class="text">
897
- <i class="t-tl"></i><i class="t-tr"></i>
898
- <input type="text" id="registerlastname" name="registerlastname"/>
899
- </span>
900
- <input type="hidden" class="broad popup" name="registervenue_id" value="" id="registervenue_id">
901
- <input type="hidden" class="broad popup" name="registercity" value="" id="registercity">
902
-
903
- <div class="clearall"></div>
904
-
905
- <label for="">Email address</label>
906
- <span class="text">
907
- <i class="t-tl"></i><i class="t-tr"></i>
908
- <input type="text" id="registeremail" name="registeremail"/>
909
- </span>
910
-
911
- <div class="clearall"></div>
912
- <label for="">Password</label>
913
- <span class="text">
914
- <i class="t-tl"></i><i class="t-tr"></i>
915
- <input type="password" id="registerpassword" name="registerpassword"/>
916
- </span>
917
-
918
- <div class="clearall"></div>
919
- <label for="">Confirm password</label>
920
- <span class="text">
921
- <i class="t-tl"></i><i class="t-tr"></i>
922
- <input type="password" id="registerpassword2" name="registerpassword2"/>
923
- </span>
924
-
925
- <div class="clearall"></div>
926
-
927
- <span class="button">
928
- <i class="b-tl"></i><i class="b-tr"></i>
929
- <input type="submit" value="Register" id="register_button"/>
930
- </span>
931
- </form>
932
- </div>
933
- </div>
934
-
935
-
936
-
937
-
938
-
939
-
940
-
941
-
942
- <div id="con_menu">
943
- <!-- Main menu -->
944
- <div id="menumain" style="font-size:14px;">
945
-
946
-
947
- <!-- Seperator -->
948
-
949
-
950
-
951
- <a href="/" class="menu_ph">
952
- </a>
953
-
954
-
955
- <!-- Seperator -->
956
-
957
-
958
-
959
-
960
-
961
-
962
-
963
-
964
-
965
-
966
- <a href="/cinema/Duke_Of_Yorks/Whats_On/" class=
967
-
968
- "menuitem doyb"
969
-
970
- ><span class="menuitem_left"></span>What&#39;s On</a>
971
-
972
-
973
- <!-- Seperator -->
974
-
975
-
976
-
977
-
978
-
979
- <span class="separator">&nbsp;</span>
980
-
981
-
982
-
983
-
984
-
985
-
986
-
987
- <a href="/cinema/Duke_Of_Yorks/Coming_Soon/" class=
988
-
989
- "menuitem doyb"
990
-
991
- ><span class="menuitem_left"></span>Coming Soon</a>
992
-
993
-
994
- <!-- Seperator -->
995
-
996
-
997
-
998
-
999
-
1000
- <span class="separator">&nbsp;</span>
1001
-
1002
-
1003
-
1004
-
1005
-
1006
-
1007
-
1008
- <a href="/cinema/Duke_Of_Yorks/Picturehouse_Membership/" class=
1009
-
1010
- "menuitem doyb"
1011
-
1012
- ><span class="menuitem_left"></span>Membership</a>
1013
-
1014
-
1015
- <!-- Seperator -->
1016
-
1017
-
1018
-
1019
-
1020
-
1021
- <span class="separator">&nbsp;</span>
1022
-
1023
-
1024
-
1025
-
1026
-
1027
-
1028
-
1029
- <a href="/cinema/Duke_Of_Yorks/News/" class=
1030
-
1031
- "menuitem doyb"
1032
-
1033
- ><span class="menuitem_left"></span>News</a>
1034
-
1035
-
1036
- <!-- Seperator -->
1037
-
1038
-
1039
-
1040
-
1041
-
1042
- <span class="separator">&nbsp;</span>
1043
-
1044
-
1045
-
1046
-
1047
-
1048
-
1049
-
1050
- <a href="/cinema/Duke_Of_Yorks/Connect/" class=
1051
-
1052
- "menuitem doyb"
1053
-
1054
- ><span class="menuitem_left"></span>Connect</a>
1055
-
1056
-
1057
- <!-- Seperator -->
1058
-
1059
-
1060
-
1061
-
1062
-
1063
- <span class="separator">&nbsp;</span>
1064
-
1065
-
1066
-
1067
-
1068
-
1069
-
1070
-
1071
- <a href="/cinema/Duke_Of_Yorks/Picturehouse_Recommends/" class=
1072
-
1073
- "menuitem doyb"
1074
-
1075
- ><span class="menuitem_left"></span>Recommends</a>
1076
-
1077
-
1078
- <!-- Seperator -->
1079
-
1080
-
1081
-
1082
-
1083
-
1084
- <span class="separator">&nbsp;</span>
1085
-
1086
-
1087
-
1088
-
1089
-
1090
-
1091
-
1092
- <a href="/cinema/Duke_Of_Yorks/Food_Drink/" class=
1093
-
1094
- "menuitem doyb"
1095
-
1096
- ><span class="menuitem_left"></span>Food &amp; Drink</a>
1097
-
1098
-
1099
- <!-- Seperator -->
1100
-
1101
-
1102
-
1103
-
1104
-
1105
- <span class="separator">&nbsp;</span>
1106
-
1107
-
1108
-
1109
-
1110
-
1111
-
1112
-
1113
- <a href="/cinema/Duke_Of_Yorks/Faqs/" class=
1114
-
1115
- "menuitem doyb"
1116
-
1117
- ><span class="menuitem_left"></span>FAQs</a>
1118
-
1119
-
1120
- <!-- Seperator -->
1121
-
1122
-
1123
-
1124
-
1125
-
1126
- <span class="separator">&nbsp;</span>
1127
-
1128
-
1129
-
1130
-
1131
-
1132
-
1133
-
1134
- <a href="/cinema/Dukes_At_Komedia/" class=
1135
-
1136
- "menuitem doyb"
1137
-
1138
- ><span class="menuitem_left"></span>Komedia</a>
1139
-
1140
-
1141
-
1142
- </div>
1143
- <!-- Ends Main menu -->
1144
- <!-- Sub menu -->
1145
-
1146
-
1147
- </div>
1148
-
1149
-
1150
-
1151
-
1152
- <div id="con_content">
1153
-
1154
- <div class="col_double">
1155
-
1156
-
1157
- <a href="/cinema/Duke_Of_Yorks/Hires_Info/Venue_Info/"
1158
-
1159
- class="box_tab"
1160
-
1161
- ><span class="tab_left"></span>Venue Info</a>
1162
-
1163
- <a href="/cinema/Duke_Of_Yorks/Hires_Info/Contact_Us/"
1164
-
1165
- class="box_tab active"
1166
-
1167
- ><span class="tab_left"></span>Contact Us</a>
1168
-
1169
- <a href="/cinema/Duke_Of_Yorks/Hires_Info/Venue_Hire/"
1170
-
1171
- class="box_tab"
1172
-
1173
- ><span class="tab_left"></span>Venue Hire</a>
1174
-
1175
- <a href="/cinema/Duke_Of_Yorks/Hires_Info/Press/"
1176
-
1177
- class="box_tab"
1178
-
1179
- ><span class="tab_left"></span>Press</a>
1180
-
1181
- <a href="/cinema/Duke_Of_Yorks/Hires_Info/Jobs/"
1182
-
1183
- class="box_tab"
1184
-
1185
- ><span class="tab_left"></span>Jobs</a>
1186
-
1187
- <div style="clear:both;"></div>
1188
-
1189
-
1190
- <div class="box6">
1191
-
1192
-
1193
-
1194
-
1195
- <div class="box6_top"></div>
1196
-
1197
-
1198
-
1199
-
1200
-
1201
-
1202
-
1203
-
1204
-
1205
-
1206
-
1207
-
1208
-
1209
- <div class="box6_title">
1210
- <div class="right" style="margin-top: 5px;">
1211
- </div>
1212
- <h1>Contact Us</h1>
1213
- </div>
1214
-
1215
- <div class="box6_content">
1216
- <div style="clear:both;"></div>
1217
- <div class="right">
1218
- <div style="margin:10px;">
1219
- <a href="https://addthis.com/bookmark.php?v=250&amp;pub=xa-4af2a5d24013d7f8&amp;username=gswartland" class="button_share addthis_button">&nbsp;</a>
1220
- <script type="text/javascript" src="https://s7.addthis.com/js/250/addthis_widget.js#pub=xa-4af2a5d24013d7f8"></script>
1221
- </div>
1222
-
1223
- </div>
1224
- <div class="txt6" style="padding-top: 10px;">
1225
-
1226
-
1227
- <p>
1228
- <div class="box" style="width:280px;">
1229
- <div class="heading"><span class="newsheading">Duke of York&#39;s Picturehouse, Brighton</span></div>
1230
- <div class="box1">
1231
- <table cellspacing="0" cellpadding="0" border="0" id="cinemasbox">
1232
- <tbody>
1233
-
1234
- <tr><td valign="bottom" class="cinemaListBox"></td></tr>
1235
- <tr><td valign="bottom" class="cinemaListBox">Preston Circus</td></tr>
1236
- <tr><td valign="bottom" class="cinemaListBox"></td></tr>
1237
- <tr><td valign="bottom" class="cinemaListBox">Brighton</td></tr>
1238
- <tr><td valign="bottom" class="cinemaListBox"></td></tr>
1239
- <tr><td valign="bottom" class="cinemaListBox"></td></tr>
1240
- <tr><td valign="bottom" class="cinemaListBox">BN1 4NA</td></tr>
1241
-
1242
-
1243
- <tr><td valign="bottom" class="cinemaListBox">Box Office Number: 0871 902 5728</td></tr>
1244
-
1245
-
1246
- <tr><td valign="bottom" class="cinemaListBox">email: <a class="__cf_email__" href="/cdn-cgi/l/email-protection" data-cfemail="3a5e4f515f555c43554851497a4a53594e4f485f52554f495f49145955144f51">[email&nbsp;protected]</a><script type="text/javascript">
1247
- /* <![CDATA[ */
1248
- (function(){try{var s,a,i,j,r,c,l,b=document.getElementsByTagName("script");l=b[b.length-1].previousSibling;a=l.getAttribute('data-cfemail');if(a){s='';r=parseInt(a.substr(0,2),16);for(j=2;a.length-j;j+=2){c=parseInt(a.substr(j,2),16)^r;s+=String.fromCharCode(c);}s=document.createTextNode(s);l.parentNode.replaceChild(s,l);}}catch(e){}})();
1249
- /* ]]> */
1250
- </script></td></tr>
1251
-
1252
- </tbody>
1253
- </table>
1254
- </div>
1255
- </div>
1256
-
1257
- </p>
1258
- <p>&nbsp;</p>
1259
- <p>General Manager: Kenny Gold</p>
1260
-
1261
-
1262
- </div>
1263
- </div>
1264
- <div class="box6_bottom"></div>
1265
- </div>
1266
- </div>
1267
-
1268
- <div class="col_spacer"></div>
1269
- <div class="col_single">
1270
-
1271
-
1272
-
1273
-
1274
-
1275
- <div class="ad">
1276
-
1277
-
1278
- <!-- Beginning Sync AdSlot 2 for Ad unit UK_PictureHouses/Homepage ### size: [[300,250]] -->
1279
- <div id='div-gpt-ad-144738139352026482-2'>
1280
- <script type='text/javascript'>
1281
- googletag.display('div-gpt-ad-144738139352026482-2');
1282
- </script>
1283
- </div>
1284
- <!-- End AdSlot 2 -->
1285
-
1286
-
1287
- </div>
1288
-
1289
-
1290
-
1291
-
1292
-
1293
-
1294
- <div class="ad">
1295
-
1296
-
1297
-
1298
- <a href="/News/item/Guardian_Live_Russell_Brand_In_Conversation/">
1299
- <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="300" height="250" id="Richard Curtiss" align="middle">
1300
- <param name="allowScriptAccess" value="sameDomain" />
1301
- <param name="allowFullScreen" value="false" />
1302
- <param name="movie" value="https://d2t98m0n7ql7on.cloudfront.net/site-media/images/cityscreen/GuardianLive_MPUBrand.swf" />
1303
- <param name="quality" value="high" />
1304
- <param name="bgcolor" value="#333333" />
1305
- <embed src="https://d2t98m0n7ql7on.cloudfront.net/site-media/images/cityscreen/GuardianLive_MPUBrand.swf" quality="high" bgcolor="#333333" width="300" height="250" name="kuma" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
1306
- </object>
1307
- </a>
1308
-
1309
-
1310
-
1311
- </div>
1312
-
1313
-
1314
-
1315
-
1316
-
1317
- </div>
1318
-
1319
-
1320
-
1321
- </div>
1322
- <div class="clear"></div>
1323
-
1324
- <div id="con_footer">
1325
- <a href="http://www.deletelondon.com" target="_blank" id="credit"></a>
1326
- <div id="footer_inner">
1327
- <div class="toplinks txt4">
1328
- <div class="right footer_select" style="width:314px;">
1329
-
1330
- <img src="https://d2t98m0n7ql7on.cloudfront.net/site-media/images/cityscreen/ECmedia-en-white.gif" id="logo_small" width="154" height="29" style="position:relative; top:-12px;">
1331
-
1332
- <form>
1333
- <select name="selectnav" class="selectnav">
1334
- <option selected="selected" value="">Duke of York&#39;s</option>
1335
-
1336
- </select>
1337
- </form>
1338
-
1339
- </div>
1340
- <div class="footer_menu">
1341
-
1342
- <a href="/cinema/Duke_Of_Yorks/Hires_Info/Venue_Info/">Venue Info</a> <!-- class="doyb" -->
1343
-
1344
- <span class="separator">|</span>
1345
-
1346
-
1347
- <a href="/cinema/Duke_Of_Yorks/Hires_Info/Contact_Us/">Contact Us</a> <!-- class="doyb" -->
1348
-
1349
- <span class="separator">|</span>
1350
-
1351
-
1352
- <a href="/cinema/Duke_Of_Yorks/Faqs/">Faqs</a> <!-- class="doyb" -->
1353
-
1354
- <span class="separator">|</span>
1355
-
1356
-
1357
- <a href="http://corporate.picturehouses.co.uk/venue-hire/">Venue Hire</a> <!-- class="doyb" -->
1358
-
1359
- <span class="separator">|</span>
1360
-
1361
-
1362
- <a href="/cinema/Duke_Of_Yorks/Hires_Info/Jobs/">Jobs</a> <!-- class="doyb" -->
1363
-
1364
- <span class="separator">|</span>
1365
-
1366
-
1367
- <a href="http://picturehouseblog.co.uk/">Blog</a> <!-- class="doyb" -->
1368
-
1369
- <span class="separator">|</span>
1370
-
1371
-
1372
- <a href="http://www.youtube.com/picturehousecinemas">YouTube</a> <!-- class="doyb" -->
1373
-
1374
-
1375
-
1376
- </div>
1377
- </div>
1378
- <div class="bottom">
1379
- <div class="footer_col1 bottomtext">
1380
- <a href="/Privacy/">Privacy &amp; Data Protection</a><br>
1381
- <a href="/Terms/">Terms of Admission</a>
1382
- </div>
1383
- <div class="footer_col2 bottomtext">
1384
- Picturehouse Cinemas Limited is a limited company registered in England as company number 2310403 and its registered office is Power Road Studios, 114 Power Road, Chiswick, London, W4 5PY.
1385
- </div>
1386
- <div class="footer_col3 bottomtext">
1387
- 2004 Picturehouse Cinemas Limited
1388
- </div>
1389
- </div>
1390
- </div>
1391
- </div>
1392
- <!-- Ends Footer -->
1393
- <!-- Google Code for Remarketing tag -->
1394
- <!-- Remarketing tags may not be associated with personally identifiable information or placed on pages related to sensitive categories. For instructions on
1395
- adding this tag and more information on the above requirements, read the setup guide: google.com/ads/remarketingsetup -->
1396
- <script type="text/javascript">
1397
- /* <![CDATA[ */
1398
- var google_conversion_id = 993965287;
1399
- var google_conversion_label = "ihOBCNmJwAMQ5-n62QM";
1400
- var google_custom_params = window.google_tag_params;
1401
- var google_remarketing_only = true;
1402
- /* ]]> */
1403
- </script>
1404
- <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
1405
- </script>
1406
- <noscript>
1407
- <div style="display:inline;">
1408
- <img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/993965287/?
1409
- value=0&amp;label=ihOBCNmJwAMQ5-n62QM&amp;guid=ON&amp;script=0"/>
1410
- </div>
1411
- </noscript>
1412
-
1413
-
1414
- </div>
1415
-
1416
-
1417
-
1418
- <div id="fb-root"></div>
1419
- <script>(function(d, s, id) {
1420
- var js, fjs = d.getElementsByTagName(s)[0];
1421
- if (d.getElementById(id)) return;
1422
- js = d.createElement(s); js.id = id;
1423
- js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=171233602908051";
1424
- fjs.parentNode.insertBefore(js, fjs);
1425
- }(document, 'script', 'facebook-jssdk'));</script>
1426
-
1427
-
1428
- <div class="apple_overlay" style="left: 50%;margin-left: -350px;width:640px;display:none;" id="contentWrap">
1429
- <script type="text/javascript">
1430
- function load_trailers(filmid) {
1431
- var film = jQuery('#' + filmid).attr('title');
1432
- ga('send', 'event', {
1433
- eventCategory:'Trailers',
1434
- eventAction:'Play',
1435
- eventValue:film});
1436
- var h ='<div style="font-family:Arial, Helvetica, sans-serif;" id="trailer_header">';
1437
- if (jQuery('#' + filmid).find('span').length > 1) {
1438
- h = h + '<select id="trailerField">';
1439
- jQuery('#' + filmid).find('span').each(function () {
1440
- var f = jQuery(this);
1441
- h = h + '<option class="overlayed_clip" value="' + f.attr('id') + '" ';
1442
- if (f.attr('title') === film) {
1443
- h = h + 'selected ';
1444
- }
1445
-
1446
- h = h + '>' + f.attr('title') + '</option>';
1447
- });
1448
- h = h + '</select>';
1449
- }
1450
- h = h + '<br/><br/></div>';
1451
- jQuery('#trailer_header').replaceWith(h);
1452
- jQuery('#trailerField').change(function () {
1453
- var f = jQuery('#' + jQuery(this).val());
1454
- var pid= f.attr('pid');
1455
- var mid= f.attr('mid');
1456
- var mtid= f.attr('mtid');
1457
- var mti= f.attr('mti');
1458
- var fid= f.attr('fid');
1459
- var fti= f.attr('fti');
1460
- triggerEnd();
1461
- if (mtid === 'ftr') {
1462
- ga('send', 'event', {
1463
- eventCategory:'Features',
1464
- eventAction:'Change',
1465
- eventValue:film});
1466
- _V_("mm_video").src([
1467
- { type: "video/mp4", src: "http://ml5vid.mymovies.net/filmmedia/film/fid" + fid + "/features/avfid" + mid + "/html5/700.mp4" },
1468
- { type: "video/webm", src: "http://ml5vid.mymovies.net/filmmedia/film/fid" + fid + "/features/avfid" + mid + "/html5/700.webm" },
1469
- { type: "video/ogg", src: "http://ml5vid.mymovies.net/filmmedia/film/fid" + fid + "/features/avfid" + mid + "/html5/700.ogv" }
1470
- ]);
1471
- } else {
1472
- ga('send', 'event', {
1473
- eventCategory:'Trailers',
1474
- eventAction:'Change',
1475
- eventValue:film});
1476
- _V_("mm_video").src([
1477
- { type: "video/mp4", src: "http://ml5vid.mymovies.net/filmmedia/film/fid" + fid + "/trailers/trid" + mid + "/html5/700.mp4" },
1478
- { type: "video/webm", src: "http://ml5vid.mymovies.net/filmmedia/film/fid" + fid + "/trailers/trid" + mid + "/html5/700.webm" },
1479
- { type: "video/ogg", src: "http://ml5vid.mymovies.net/filmmedia/film/fid" + fid + "/trailers/trid" + mid + "/html5/700.ogv" }
1480
- ]);
1481
- }
1482
- triggerSDC(fid, mid, mtid, fti, mti, pid);
1483
- _V_("mm_video").play();
1484
- return false;
1485
-
1486
- });
1487
-
1488
- return false;
1489
- }
1490
- </script>
1491
-
1492
- <div style="font-family:Arial, Helvetica, sans-serif;" id="trailer_header">
1493
-
1494
- <br/><br/></div>
1495
-
1496
- <!-- **** MYMOVIES HTML5 VIDEO TAG **** -->
1497
- <div class="contentWrap" id="content"><video id="mm_video" class="video-js vjs-default-skin" controls preload="auto" width="640" height="360" data-setup="{}"></video></div>
1498
-
1499
- <script src="http://partner.mymovies.net/html5/js/manage.js" type="text/javascript"></script>
1500
-
1501
- <!-- **** END MYMOVIES HTML5 VIDEO TAG **** -->
1502
-
1503
- </div>
1504
- </body>
1505
- </html>